I am stuck with this linking error for days. I recently updated to Xcode12 and my project building and running fine for real devices. But when I try to run for Simulator I am getting this error.
My customLib is a .a library built with Xcode12 too.
How to resolve this issue?
Code Block building for iOS Simulator, but linking in object file built for macOS, file '..customLib.a' for architecture x86_64
My customLib is a .a library built with Xcode12 too.
Code Block lipo -info customLib.a Architectures in the fat file: customLib.a are: armv7 armv7s i386 x86_64 arm64
How to resolve this issue?