QT 6.9.3 and 6.10.0: Compile for iOS-Simulator doesn't work because of unused plugin
-
Hi,
I try to compile my app for the iOS-Simulator, but that doesn't work. I get this error:
ld: building for 'iOS-simulator', but linking in object file (/opt/Qt/6.10.0/ios/plugins/permissions/objects-Debug/QDarwinCameraPermissionPlugin_init/QDarwinCameraPermissionPlugin_init.cpp.o) built for 'iOS'With Qt 6.9.3 I get the same error.
I don't need the camera in my app. Is there a way to avoid linking against this object file?
I tried already in the cmake file the following:qt_import_plugins(tpanel EXCLUDE Qt6::QDarwinCameraPermissionPlugin Qt6::QDarwinCameraPermissionPlugin_init)But this doesn't work.
I'm working on a Mac Mini M1 with latest OS v26.
A.T.