Post not yet marked as solved
Post marked as unsolved with 6 replies, 18,170 views
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.
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.
lipo -info customLib.a
Architectures in the fat file: customLib.a are: armv7 armv7s i386 x86_64 arm64
How to resolve this issue?