I am working on a swift project that use 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.
"Optimization Level -> None [-Onone]"
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.