QT_NO_XCODE_EMBED_FRAMEWORK_IN_CONSUMERS
Excludes a shared library from being embedded into the application bundles that use it.
This property was introduced in Qt 6.12.
Note: This property is used only if targeting iOS.
Boolean property that excludes a shared library from automatic embedding into application bundles, as described in qt_finalize_target().
Unlike QT_NO_XCODE_EMBED_FRAMEWORKS, which is set on the application target and disables embedding altogether, this property is set on the library target that should not be embedded.
Every application that links against the library, will leave it out of its bundle:
set_target_properties(mylib PROPERTIES
QT_NO_XCODE_EMBED_FRAMEWORK_IN_CONSUMERS ON
)See also qt_finalize_target() and QT_NO_XCODE_EMBED_FRAMEWORKS.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.