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.