qt6-bb10/mkspecs/features/mac
Alexandru Croitor e38956e4f7 qmake: Fix non-Xcode asset catalog handling for iOS simulator
If an iOS project was built with qmake using the Makefile generator
instead of the Xcode generator,
so -spec macx-ios-clang, and not -spec macx-xcode,

Asset catalog processing failed with an actool error like
 Unknown platform: "ios-simulator"

This is because we used the deployment identifier (which is meant for
creation of the -mios-simulator-version-min flag) to pass a value
to actool's -platform option, rather than the sdk name.

Introduce a new variable called platform_identifier, which will be set
to the currently processed macOS/iOS sdk name (e.g. macosx,
iphonesimulator, iphoneos).

Use it when processing asset catalogs using the Makefile generator.

Relates to 9daeb6fe9d
Amends 5574aa986b

Pick-to: 6.3 6.4
Fixes: QTBUG-102053
Change-Id: Ic4ea3b9e11c21ae535d6544cbed3670f9db44e72
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
2022-08-16 15:02:22 +02:00
..
unsupported
asset_catalogs.prf qmake: Fix non-Xcode asset catalog handling for iOS simulator 2022-08-16 15:02:22 +02:00
default_post.prf qmake: Fix non-Xcode asset catalog handling for iOS simulator 2022-08-16 15:02:22 +02:00
default_pre.prf
mac.prf
no_warn_empty_obj_files.prf
objective_c.prf
rez.prf
sdk.mk qmake: Ignore stderr when determining the macOS SDK version 2022-03-29 14:56:15 +02:00
sdk.prf
toolchain.prf