Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.15.2, 6.2.4
-
None
-
macOS 12.3, Apple Silicon
XCode 13.3
-
-
e38956e4f7 (qt/qtbase/dev) e38956e4f7 (qt/tqtc-qtbase/dev) cfdf9a19bf (qt/qtbase/6.4) cfdf9a19bf (qt/tqtc-qtbase/6.4) 101b2f055f (qt/qtbase/6.3) 101b2f055f (qt/tqtc-qtbase/6.3)
Description
I have the following section in application .pro file:
ios { QMAKE_TARGET_BUNDLE_PREFIX = $${APP_ORGANIZATION_DOMAIN} QMAKE_INFO_PLIST = ios/Info.plist QMAKE_ASSET_CATALOGS += $$PWD/ios/AppIcons/Assets.xcassets DISTFILES += ios/Info.plist }
Running qmake in QtCreator 7.0 fails with the following output:
/Applications/Xcode.app/Contents/Developer/usr/bin/actool --app-icon AppIcon --output-partial-info-plist /Users/matejk/git/****/build-****-Qt_5_15_2_for_iOS-Debug/asset_catalog_compiler.Info.plist --platform ios-simulator --minimum-deployment-target 12.0 --compile /Users/matejk/git/****/build-****-Qt_5_15_2_for_iOS-Debug/****.app /Users/matejk/git/****/400096_****/ios/AppIcons/Assets.xcassets <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>com.apple.actool.errors</key> <array> <dict> <key>description</key> <string>Unknown platform: "ios-simulator".</string> </dict> </array> </dict> </plist>
If I change value of "simulator.deployment_identifier" from "ios-simulator" to "iphonesimulator" in the files listed below, qmake passes and build succeeds.
- 5.15.2/clang_64/mkspecs/common/ios.conf
- 5.15.2/ios/mkspecs/common/ios.conf
- 6.2.4/ios/mkspecs/common/ios.conf
- 6.2.4/macos/mkspecs/common/ios.conf
Attachments
Issue Links
- is required for
-
QTBUG-95838 Improve experience of building iOS projects with CMake
- Closed