I am working on a Swift project that uses some frameworks references. It works well when the debug compile. But, When I compile Release it throwing some reference errors like below;
That failed classes are in the CryptoSwift.framework library and MyFramework using this library. CryptoSwift.framework existing on build phases.
I tried "Optimization Level -> None [-Onone]"
but failed.
Swift Version: 2.3, Xcode Version: 8.0
It worked after I selected "Build Active Architecture Only" for Release Compile. The reason for the error is that the frameworks do not support all architectures.