Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
5.11.1
-
None
-
macOS 10.13.6; Xcode 9.4.1
-
-
3c2ffd7457688bd8ae9d5fca688843e2029504b2
Description
The following works on Qt 5.10.1 (and earlier versions) but not on Qt 5.11.1.
.pro
Q_PRODUCT_BUNDLE_IDENTIFIER.name = PRODUCT_BUNDLE_IDENTIFIER Q_PRODUCT_BUNDLE_IDENTIFIER.value = org.myorganisation.myapp QMAKE_MAC_XCODE_SETTINGS += Q_PRODUCT_BUNDLE_IDENTIFIER
Info.plist
<key>CFBundleIdentifier</key> <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
In Qt 5.10.1, running Qmake creates a .xcodeproj bundle. Within this there is a file project.pbxproj. This contains multiple copies (for different build configs) of the following:
PRODUCT_BUNDLE_IDENTIFIER = "org.myorganisation.myapp";
In contrast, Qt 5.11.1 generates the following:
PRODUCT_BUNDLE_IDENTIFIER = "com.yourcompany.${PRODUCT_NAME:rfc1034identifier}";
which resolves in Xcode as:
PRODUCT_BUNDLE_IDENTIFIER = "com.yourcompany.MyApp";
Attachments
Issue Links
- replaces
-
QTCREATORBUG-22088 Apple/Xcode bundle identifiers are not generated correctly even when explicitly set
- Closed
- resulted in
-
QTBUG-70080 Add a variable that will allow the setting of the whole bundle identifier as a string
- Closed