I'm trying to build my project for arm64. This project requires an arm64 libcrypto.a. I'd like to know if I'm missing any settings. Thanks in advance...
The error I see is:
ld: warning: ignoring file /Users/Amy/Desktop/swift_proj/swift_proj/include/libcrypto.a, file was built for archive which is not the architecture being linked (x86_64): /Users/Amy/Desktop/swift_proj/swift_proj/include/libcrypto.a
My project settings are shown below:
Architectures: arm64
Base SDK: Latest iOS(iOS 11.4)
Build Active Architecture Only: No
Supported Platforms: iOS
Valid Architectures: arm64
I've updated "RequiredDeviceCapabilities" in info.plist to arm64.
I've checked the type of library I'm trying to link with:
[Amys-MacBook-Air:include$ lipo -info libcrypto.a
input file libcrypto.a is not a fat file
Non-fat file: libcrypto.a is architecture: arm64
I fail to understand why the error says the project is being built for x86_64.