<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[QT 6.9.3 and 6.10.0: Compile for iOS-Simulator doesn&#x27;t work because of unused plugin]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I try to compile my app for the <em>iOS-Simulator</em>, but that doesn't work. I get this error:</p>
<pre><code>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'
</code></pre>
<p dir="auto">With Qt 6.9.3 I get the same error.</p>
<p dir="auto">I don't need the camera in my app. Is there a way to avoid linking against this object file?<br />
I tried already in the cmake file the following:</p>
<pre><code>qt_import_plugins(tpanel EXCLUDE Qt6::QDarwinCameraPermissionPlugin Qt6::QDarwinCameraPermissionPlugin_init)
</code></pre>
<p dir="auto">But this doesn't work.</p>
<p dir="auto">I'm working on a Mac Mini M1 with latest OS v26.</p>
<p dir="auto">A.T.</p>
]]></description><link>https://forum.qt.io/topic/163573/qt-6.9.3-and-6.10.0-compile-for-ios-simulator-doesn-t-work-because-of-unused-plugin</link><generator>RSS for Node</generator><lastBuildDate>Sat, 04 Apr 2026 07:21:27 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/163573.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 23 Oct 2025 12:49:53 GMT</pubDate><ttl>60</ttl></channel></rss>