IOS: building for 'iOS-simulator', but linking in object file for iOS
Unsolved
Mobile and Embedded
-
I try to compile my mobile app for iOS simulator but the linker fails with the message:
ld: building for 'iOS-simulator', but linking in object file (/opt/Qt/6.6.0/ios/plugins/imageformats/objects-Release/QGifPlugin_init/QGifPlugin_init.cpp.o) built for 'iOS' clang: error: linker command failed with exit code 1 (use -v to see invocation)
This same error happen also when I try for debug (above is for release) and with the older version 6.5.x. Didn't try with older Qt versions.
Compiling for a real device works.
I'm using Qt Creator 11.0.3 with cmake on a Mac Mini with Apple silicon. It looks like the object files for the iOS simulator are missing.Is there a way to compile for iOS simulator?
A.T.