Details
-
Type:
Bug
-
Status: Reported
-
Priority:
P2: Important
-
Resolution: Unresolved
-
Affects Version/s: 5.15.2, 6.2.4
-
Fix Version/s: None
-
Component/s: Build tools: qmake
-
Labels:None
-
Environment:macOS 12.3, Apple Silicon
XCode 13.3
-
Platform/s:
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
-
- Open
-