diff --git a/build_ios.sh b/build_ios.sh index fb91a27b005af267ee3329575f2be7192a6da4a1..fad0f9742172ac2ebee58953466d704a3f572d6c 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 130e469f58a23086a86654d2bb164bd5d0fa0c92..e194eec5baca3a8fa251d031ae54538fd5dbabf0 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