Browse Source

Fixes to iOS App Store build.

QGC4.4
dogmaphobic 9 years ago
parent
commit
133d6da21b
  1. 4
      build_ios.sh
  2. 12
      ios/iOSForAppStore-Info-Source.plist
  3. 2
      ios/qgroundcontrol_appstore.xcconfig

4
build_ios.sh

@ -12,5 +12,5 @@ TRAVIS_BUILD_DIR=/Users/gus/github/work/qgroundcontrol @@ -12,5 +12,5 @@ TRAVIS_BUILD_DIR=/Users/gus/github/work/qgroundcontrol
#-- Build it
mkdir -p ${SHADOW_BUILD_DIR} &&
cd ${SHADOW_BUILD_DIR} &&
${QMAKE} -r ${TRAVIS_BUILD_DIR}/qgroundcontrol.pro CONFIG+=WarningsAsErrorsOn CONFIG-=debug_and_release CONFIG+=release CONFIG+=ForAppStore &&
xcodebuild -configuration Release -xcconfig ${TRAVIS_BUILD_DIR}/ios/qgroundcontrol_appstore.xcconfig
${QMAKE} -r ${TRAVIS_BUILD_DIR}/qgroundcontrol.pro CONFIG+=WarningsAsErrorsOn CONFIG-=debug_and_release CONFIG+=release CONFIG+=ForAppStore # &&
# xcodebuild -configuration Release -xcconfig ${TRAVIS_BUILD_DIR}/ios/qgroundcontrol_appstore.xcconfig

12
ios/iOSForAppStore-Info-Source.plist

@ -1,15 +1,21 @@ @@ -1,15 +1,21 @@
<?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">
<plist version="1.0">
<dict>
<key>CFBundleDisplayName</key>
<string>QGroundControl</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>qgroundcontrol</string>
<string>$(EXECUTABLE_NAME)</string>
<key>NSHumanReadableCopyright</key>
<string>Open Source Flight Systems GmbH</string>
<key>CFBundleIconFile</key>
<string></string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<key>CFBundleIcons</key>
<dict>
<key>CFBundlePrimaryIcon</key>
@ -56,7 +62,7 @@ @@ -56,7 +62,7 @@
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>QGroundControl</string>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>

2
ios/qgroundcontrol_appstore.xcconfig

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
CODE_SIGN_IDENTITY = "iPhone Distribution";
PROVISIONING_PROFILE = f22bae36-10c2-4fd8-b6f1-c83e47765614;
#PROVISIONING_PROFILE = f22bae36-10c2-4fd8-b6f1-c83e47765614;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_EMPTY_BODY = YES;

Loading…
Cancel
Save