added Info.plist file for IOS

This commit is contained in:
Dorian Zedler 2020-08-20 00:56:23 +02:00
parent d06cfc2127
commit 18646e6ec5
2 changed files with 49 additions and 1 deletions

View File

@ -69,7 +69,8 @@ android {
ios {
QMAKE_ASSET_CATALOGS += resources/shared/graphics/Assets.xcassets
xcode_product_bundle_identifier_setting.value = "de.itsblue.ScStwApp"
xcode_product_bundle_identifier_setting.value="de.itsblue.ScStwApp"
QMAKE_INFO_PLIST = ios/Info.plist
OBJECTIVE_SOURCES += \
sources/sleepprevent.mm

47
ios/Info.plist Normal file
View File

@ -0,0 +1,47 @@
<?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>CFBundleDisplayName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleGetInfoString</key>
<string>Created by Qt/QMake</string>
<key>CFBundleIconFile</key>
<string>${ASSETCATALOG_COMPILER_APPICON_NAME}</string>
<key>CFBundleIdentifier</key>
<string>de.itsblue.scstw</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>${QMAKE_SHORT_VERSION}</string>
<key>CFBundleSignature</key>
<string>${QMAKE_PKGINFO_TYPEINFO}</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>MinimumOSVersion</key>
<string>${IPHONEOS_DEPLOYMENT_TARGET}</string>
<key>NOTE</key>
<string>This file was generated by Qt/QMake.</string>
<key>NSCameraUsageDescription</key>
<string>App would like to access the camera.</string>
<key>NSPhotoLibraryAddUsageDescription</key>
<string>App would like to save images taken with camera.</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>App would like to access the library.</string>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
</dict>
</plist>