ios/Pods/OpenSSL-Universal/ios/lib/libcrypto.a(cryptlib.o), building for iOS Simulator, but linking in object file built 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"