building for iOS Simulator, but linking in object file built for iOS, file '/Users/brianmarcallaconza/brian-projects/mobile-apps/DailyMotivation/ios/Pods/OpenSSL-Universal/ios/lib/libcrypto.a' for architecture arm64 code example

Example: building for iOS Simulator, but linking in object file built for iOS, file

I solve problem by adding "arm64" in "Excluded Architectures" for both project target and pod target.

Xcode -> Target Project -> Build Setting -> Excluded Architectures > "arm64"

Xcode -> Pod Target -> Build Setting -> Excluded Architectures > "arm64"

Tags:

Misc Example