4d838dae5a
Add an iOS specific plist file like we do for macOS.
If the user hasn't specified a bundle identifier or a development
team id, do what qmake does and query the Xcode preferences file to
pre-populate those if possible.
This allows running
cmake -GXcode ./foo
on a Qt example project and building it with xcodebuild on the
command line without having to go through the IDE to set a development
team id or modifying the example project to add a product
bundle identifier.
Note that the change assumes that the development team id has been
previously set / configured via Xcode. If no such id is found, then
the value will not be set and the user will still have to specify it
either in the project file or via the Xcode UI after the project
has been generated.
Amends 3a2fa3fec5
Pick-to: 6.1
Change-Id: Iaab4e57de72c9877fb9035d28f9a879b2c91a33c
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
47 lines
1.4 KiB
XML
47 lines
1.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>CFBundleInfoDictionaryVersion</key>
|
|
<string>6.0</string>
|
|
<key>CFBundlePackageType</key>
|
|
<string>APPL</string>
|
|
|
|
<key>CFBundleName</key>
|
|
<string>${MACOSX_BUNDLE_BUNDLE_NAME}</string>
|
|
<key>CFBundleIdentifier</key>
|
|
<string>${MACOSX_BUNDLE_GUI_IDENTIFIER}</string>
|
|
<key>CFBundleExecutable</key>
|
|
<string>${MACOSX_BUNDLE_EXECUTABLE_NAME}</string>
|
|
|
|
<key>CFBundleVersion</key>
|
|
<string>${MACOSX_BUNDLE_BUNDLE_VERSION}</string>
|
|
<key>CFBundleShortVersionString</key>
|
|
<string>${MACOSX_BUNDLE_SHORT_VERSION_STRING}</string>
|
|
<key>CFBundleLongVersionString</key>
|
|
<string>${MACOSX_BUNDLE_LONG_VERSION_STRING}</string>
|
|
|
|
<key>CFBundleGetInfoString</key>
|
|
<string>${MACOSX_BUNDLE_INFO_STRING}</string>
|
|
<key>NSHumanReadableCopyright</key>
|
|
<string>${MACOSX_BUNDLE_COPYRIGHT}</string>
|
|
|
|
<key>CFBundleIconFile</key>
|
|
<string>${MACOSX_BUNDLE_ICON_FILE}</string>
|
|
|
|
<key>CFBundleDevelopmentRegion</key>
|
|
<string>English</string>
|
|
|
|
<key>LSRequiresIPhoneOS</key>
|
|
<true/>
|
|
|
|
<key>UISupportedInterfaceOrientations</key>
|
|
<array>
|
|
<string>UIInterfaceOrientationPortrait</string>
|
|
<string>UIInterfaceOrientationPortraitUpsideDown</string>
|
|
<string>UIInterfaceOrientationLandscapeLeft</string>
|
|
<string>UIInterfaceOrientationLandscapeRight</string>
|
|
</array>
|
|
</dict>
|
|
</plist>
|