clang: error: linker command failed with exit code 1 After XCode 12 update

Viewed 1818

I recently updated XCode version to XCode 12 and started to encounter this error

ld: in /project_path/ios/Pods/OpenSSL-Universal/ios/lib/libcrypto.a(cryptlib.o),

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

file '/project_path/ios/Pods/OpenSSL-Universal/ios/lib/libcrypto.a' for architecture arm64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

I am unable to run or archive the project

I have tried the following to fix this error with no success

deleted pods folder and reinstalled updated pods Excluded arm64 architecture for debug

I am not sure what is causing the error.

Please help

0 Answers
Related