Search code examples
swift3frameworks

Project build failed with my own custom framework in xcode


I have the custom framework name LogginFramework and I use it in my project. I can debug and I can call the class of LogginFramework in my simulator. Now I tried to archive my project to send to the tester, build failed and showing" Use of unresolved identifier 'CryptoHelper'" How can I solve this issue? I already added framework in Embedded binaries and "Linked framework in Libraries" My Swift 3 app rebuilds and runs successfully on all simulators except for Generic iOS Device. If I try to archive it or do a rebuild on Generic iOS Device, I get a No such module error relating to my custom frameworks.


Solution

  • I got solved my problem with

    1. Select the custom framework Project in Targets.
    2. Then search for Skip install.
    3. Change it into NO.
    4. Then archive your custom framework. (make sure to use Generic iOS Device ) as a target device.
    5. Export it to my project and archive.