Browse Source

Merge pull request #4061 from dogmaphobic/iOSBuildTweaks

iOS Build Tweaks
QGC4.4
Gus Grubba 9 years ago committed by GitHub
parent
commit
27b3164e12
  1. 7
      build_ios.sh
  2. 4
      ios/iOSForAppStore-Info-Source.plist

7
build_ios.sh

@ -12,5 +12,8 @@ TRAVIS_BUILD_DIR=/Users/gus/github/work/qgroundcontrol @@ -12,5 +12,8 @@ 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
#-- Create project only (build using Xcode)
${QMAKE} -r ${TRAVIS_BUILD_DIR}/qgroundcontrol.pro CONFIG+=WarningsAsErrorsOn CONFIG-=debug_and_release CONFIG+=release CONFIG+=ForAppStore
#-- Create and build
#${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

4
ios/iOSForAppStore-Info-Source.plist

@ -12,6 +12,10 @@ @@ -12,6 +12,10 @@
<string>Open Source Flight Systems GmbH</string>
<key>CFBundleIconFile</key>
<string></string>
<key>NSCameraUsageDescription</key>
<string>QGC uses UVC devices for video streaming.</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>We do not access it. Apple thinks we do.</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>

Loading…
Cancel
Save