Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P3: Somewhat important
-
Resolution: Done
-
Affects Version/s: 5.9.2
-
Fix Version/s: 5.9.4
-
Component/s: Build tools: qmake
-
Labels:None
-
Platform/s:
-
Commits:fe72571da885499739f723e054e1ba5433fb36e8
Description
Steps:
- Create qmake project on macOS
- Set TARGET in .pro file to a string with spaces, like TARGET = "Test App"
- Build project
- Open Info.plist in resulting .app package
Expected result: CFBundleIdentifier entry is "com.yourcompany.TestApp" (spaces removed)
Actual result: CFBundleIdentifier is "com.yourcompany.Test App" (space remains)
"The bundle ID string must be a uniform type identifier (UTI) that contains only alphanumeric (A-Z,a-z,0-9), hyphen (-), and period (.) characters" according to https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/20001431-102070
This seems to happen both for provided and for generated .plist files.