0
I am building an iOS App using a personal C++ library mylib.a , With the current Xcode version (13.1) When I include this library in my Frameworks and try to run on physical iOS device I have the following issue :
building for iOS, but linking in object file built for iOS Simulator, for architecture arm64
When I include my library built with a previous XCode version (I think it was Xcode 11) the app builds and runs on the device. Because I use the AppTrackingTransparency.framework I can no longer build my SDK with XCode 11.
The issue appears both on Mac intel and M1.
I tried in build settings :
Exclude architecture arm64 for Any IOS Simulator for Debug and Release
Set the Supported Platform to iphoneos only
Set Architectures on $(ARCHS_STANDARD) and set Build Active Architecture Only on to YES