Build settings in my project:
Architectures: armv7,arm64
Build Active architectures only: NO
Valid Architectures: armv7 armv7s arm64 arm6
I downloaded a prebuilt version of the library from Marek Kotewicz's GitHub which supports 64-bit architecture which I verified by terminal as with the help of this link:
file libcryptopp.a
Output:
libcryptopp.a: Mach-O universal binary with 5 architectures
libcryptopp.a (for architecture i386): current ar archive random library
libcryptopp.a (for architecture armv7): current ar archive random library
libcryptopp.a (for architecture armv7s): current ar archive random library
libcryptopp.a (for architecture x86_64): current ar archive random library
libcryptopp.a (for architecture arm64): current ar archive random library
I tried to clean and build the project and it resulted in errors in the project with a message
Undefined symbols for architecture arm64:
I have tried each and every answer present on the SO posts and now I am unable to solve this problem, I have to submit my app to App store ASAP.Can someone help me out?
P.S Setting Build active architectures to YES will not solve the problem.