diff --git a/build_ios.sh b/build_ios.sh index fb91a27..fad0f97 100755 --- a/build_ios.sh +++ b/build_ios.sh @@ -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 diff --git a/ios/iOSForAppStore-Info-Source.plist b/ios/iOSForAppStore-Info-Source.plist index 130e469..e194eec 100644 --- a/ios/iOSForAppStore-Info-Source.plist +++ b/ios/iOSForAppStore-Info-Source.plist @@ -12,6 +12,10 @@ Open Source Flight Systems GmbH CFBundleIconFile + NSCameraUsageDescription + QGC uses UVC devices for video streaming. + NSPhotoLibraryUsageDescription + We do not access it. Apple thinks we do. UIRequiredDeviceCapabilities armv7