Browse Source

iOS Build

Fix xcode project and restore LaunchImage
Cleanup unused icons
QGC4.4
Gus Grubba 7 years ago
parent
commit
5dff94bfc6
  1. 2
      build_ios.sh
  2. BIN
      ios/AppIcon29x29.png
  3. BIN
      ios/AppIcon29x29@2x.png
  4. BIN
      ios/AppIcon29x29@2x~ipad.png
  5. BIN
      ios/AppIcon29x29~ipad.png
  6. BIN
      ios/AppIcon40x40@2x.png
  7. BIN
      ios/AppIcon40x40@2x~ipad.png
  8. BIN
      ios/AppIcon40x40~ipad.png
  9. BIN
      ios/AppIcon50x50@2x~ipad.png
  10. BIN
      ios/AppIcon50x50~ipad.png
  11. BIN
      ios/AppIcon57x57.png
  12. BIN
      ios/AppIcon57x57@2x.png
  13. BIN
      ios/AppIcon60x60@2x.png
  14. BIN
      ios/AppIcon72x72@2x~ipad.png
  15. BIN
      ios/AppIcon72x72~ipad.png
  16. BIN
      ios/AppIcon76x76@2x~ipad.png
  17. BIN
      ios/AppIcon76x76~ipad.png
  18. BIN
      ios/AppIcon83.5x83.5@2x~ipad.png
  19. BIN
      ios/Images.xcassets/AppIcon.appiconset/Icon-1024.png
  20. 168
      ios/Images.xcassets/LaunchImage.launchimage/Contents.json
  21. BIN
      ios/Images.xcassets/LaunchImage.launchimage/Default1024x768.png
  22. BIN
      ios/Images.xcassets/LaunchImage.launchimage/Default1125x2436.png
  23. BIN
      ios/Images.xcassets/LaunchImage.launchimage/Default1242x2208.png
  24. BIN
      ios/Images.xcassets/LaunchImage.launchimage/Default1536x2048.png
  25. BIN
      ios/Images.xcassets/LaunchImage.launchimage/Default1920x1080.png
  26. BIN
      ios/Images.xcassets/LaunchImage.launchimage/Default2048x1536.png
  27. BIN
      ios/Images.xcassets/LaunchImage.launchimage/Default2208x1242.png
  28. BIN
      ios/Images.xcassets/LaunchImage.launchimage/Default2436x1125.png
  29. BIN
      ios/Images.xcassets/LaunchImage.launchimage/Default320x480.png
  30. BIN
      ios/Images.xcassets/LaunchImage.launchimage/Default3840x2160.png
  31. BIN
      ios/Images.xcassets/LaunchImage.launchimage/Default640x1136.png
  32. BIN
      ios/Images.xcassets/LaunchImage.launchimage/Default640x960.png
  33. BIN
      ios/Images.xcassets/LaunchImage.launchimage/Default750x1334.png
  34. BIN
      ios/Images.xcassets/LaunchImage.launchimage/Default768x1024.png
  35. 4
      ios/iOS-Info.plist
  36. 45
      ios/iOSForAppStore-Info-Source.plist
  37. 4
      qgroundcontrol.pro

2
build_ios.sh

@ -14,7 +14,7 @@ mkdir -p ${SHADOW_BUILD_DIR} && @@ -14,7 +14,7 @@ mkdir -p ${SHADOW_BUILD_DIR} &&
cd ${SHADOW_BUILD_DIR} &&
#-- Create project only (build using Xcode)
${QMAKE} -r ${TRAVIS_BUILD_DIR}/qgroundcontrol.pro CONFIG+=WarningsAsErrorsOn CONFIG-=debug_and_release CONFIG+=release CONFIG+=ForAppStore
rsync -av ${TRAVIS_BUILD_DIR}/ios/Images.xcassets ${SHADOW_BUILD_DIR}/QGroundControl/
sed -i .bak 's/com.yourcompany.${PRODUCT_NAME:rfc1034identifier}/org.QGroundControl.qgc/' ${SHADOW_BUILD_DIR}/QGroundControl.xcodeproj/project.pbxproj
#-- 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

BIN
ios/AppIcon29x29.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

BIN
ios/AppIcon29x29@2x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

BIN
ios/AppIcon29x29@2x~ipad.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

BIN
ios/AppIcon29x29~ipad.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

BIN
ios/AppIcon40x40@2x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

BIN
ios/AppIcon40x40@2x~ipad.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

BIN
ios/AppIcon40x40~ipad.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

BIN
ios/AppIcon50x50@2x~ipad.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

BIN
ios/AppIcon50x50~ipad.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

BIN
ios/AppIcon57x57.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

BIN
ios/AppIcon57x57@2x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

BIN
ios/AppIcon60x60@2x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

BIN
ios/AppIcon72x72@2x~ipad.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

BIN
ios/AppIcon72x72~ipad.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

BIN
ios/AppIcon76x76@2x~ipad.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

BIN
ios/AppIcon76x76~ipad.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

BIN
ios/AppIcon83.5x83.5@2x~ipad.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

BIN
ios/Images.xcassets/AppIcon.appiconset/Icon-1024.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 117 KiB

After

Width:  |  Height:  |  Size: 92 KiB

168
ios/Images.xcassets/LaunchImage.launchimage/Contents.json

@ -1,168 +0,0 @@ @@ -1,168 +0,0 @@
{
"images" : [
{
"extent" : "full-screen",
"idiom" : "iphone",
"subtype" : "2436h",
"filename" : "Default1125x2436.png",
"minimum-system-version" : "11.0",
"orientation" : "portrait",
"scale" : "3x"
},
{
"extent" : "full-screen",
"idiom" : "iphone",
"subtype" : "2436h",
"filename" : "Default2436x1125.png",
"minimum-system-version" : "11.0",
"orientation" : "landscape",
"scale" : "3x"
},
{
"orientation" : "landscape",
"idiom" : "tv",
"filename" : "Default3840x2160.png",
"extent" : "full-screen",
"minimum-system-version" : "11.0",
"scale" : "2x"
},
{
"orientation" : "landscape",
"idiom" : "tv",
"filename" : "Default1920x1080.png",
"extent" : "full-screen",
"minimum-system-version" : "9.0",
"scale" : "1x"
},
{
"extent" : "full-screen",
"idiom" : "iphone",
"subtype" : "736h",
"filename" : "Default1242x2208.png",
"minimum-system-version" : "8.0",
"orientation" : "portrait",
"scale" : "3x"
},
{
"extent" : "full-screen",
"idiom" : "iphone",
"subtype" : "736h",
"filename" : "Default2208x1242.png",
"minimum-system-version" : "8.0",
"orientation" : "landscape",
"scale" : "3x"
},
{
"extent" : "full-screen",
"idiom" : "iphone",
"subtype" : "667h",
"filename" : "Default750x1334.png",
"minimum-system-version" : "8.0",
"orientation" : "portrait",
"scale" : "2x"
},
{
"orientation" : "portrait",
"idiom" : "iphone",
"filename" : "Default640x960.png",
"extent" : "full-screen",
"minimum-system-version" : "7.0",
"scale" : "2x"
},
{
"extent" : "full-screen",
"idiom" : "iphone",
"subtype" : "retina4",
"filename" : "Default640x1136.png",
"minimum-system-version" : "7.0",
"orientation" : "portrait",
"scale" : "2x"
},
{
"orientation" : "portrait",
"idiom" : "ipad",
"filename" : "Default768x1024.png",
"extent" : "full-screen",
"minimum-system-version" : "7.0",
"scale" : "1x"
},
{
"orientation" : "landscape",
"idiom" : "ipad",
"filename" : "Default1024x768.png",
"extent" : "full-screen",
"minimum-system-version" : "7.0",
"scale" : "1x"
},
{
"orientation" : "portrait",
"idiom" : "ipad",
"filename" : "Default1536x2048.png",
"extent" : "full-screen",
"minimum-system-version" : "7.0",
"scale" : "2x"
},
{
"orientation" : "landscape",
"idiom" : "ipad",
"filename" : "Default2048x1536.png",
"extent" : "full-screen",
"minimum-system-version" : "7.0",
"scale" : "2x"
},
{
"orientation" : "portrait",
"idiom" : "iphone",
"filename" : "Default320x480.png",
"extent" : "full-screen",
"scale" : "1x"
},
{
"orientation" : "portrait",
"idiom" : "iphone",
"filename" : "Default640x960.png",
"extent" : "full-screen",
"scale" : "2x"
},
{
"orientation" : "portrait",
"idiom" : "iphone",
"filename" : "Default640x1136.png",
"extent" : "full-screen",
"subtype" : "retina4",
"scale" : "2x"
},
{
"orientation" : "portrait",
"idiom" : "ipad",
"filename" : "Default768x1024.png",
"extent" : "full-screen",
"scale" : "1x"
},
{
"orientation" : "landscape",
"idiom" : "ipad",
"filename" : "Default1024x768.png",
"extent" : "full-screen",
"scale" : "1x"
},
{
"orientation" : "portrait",
"idiom" : "ipad",
"filename" : "Default1536x2048.png",
"extent" : "full-screen",
"scale" : "2x"
},
{
"orientation" : "landscape",
"idiom" : "ipad",
"filename" : "Default2048x1536.png",
"extent" : "full-screen",
"scale" : "2x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}

BIN
ios/Images.xcassets/LaunchImage.launchimage/Default1024x768.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 870 KiB

BIN
ios/Images.xcassets/LaunchImage.launchimage/Default1125x2436.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 MiB

BIN
ios/Images.xcassets/LaunchImage.launchimage/Default1242x2208.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 MiB

BIN
ios/Images.xcassets/LaunchImage.launchimage/Default1536x2048.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 MiB

BIN
ios/Images.xcassets/LaunchImage.launchimage/Default1920x1080.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 MiB

BIN
ios/Images.xcassets/LaunchImage.launchimage/Default2048x1536.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 MiB

BIN
ios/Images.xcassets/LaunchImage.launchimage/Default2208x1242.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 MiB

BIN
ios/Images.xcassets/LaunchImage.launchimage/Default2436x1125.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 MiB

BIN
ios/Images.xcassets/LaunchImage.launchimage/Default320x480.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 196 KiB

BIN
ios/Images.xcassets/LaunchImage.launchimage/Default3840x2160.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 MiB

BIN
ios/Images.xcassets/LaunchImage.launchimage/Default640x1136.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 914 KiB

BIN
ios/Images.xcassets/LaunchImage.launchimage/Default640x960.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 765 KiB

BIN
ios/Images.xcassets/LaunchImage.launchimage/Default750x1334.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

BIN
ios/Images.xcassets/LaunchImage.launchimage/Default768x1024.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 980 KiB

4
ios/iOS-Info.plist

@ -26,8 +26,6 @@ @@ -26,8 +26,6 @@
<string>1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UILaunchStoryboardName</key>
<string>QGCLaunchScreen</string>
<key>UIRequiresFullScreen</key>
<true/>
<key>CFBundleInfoDictionaryVersion</key>
@ -38,6 +36,8 @@ @@ -38,6 +36,8 @@
<string>Ground Station Location</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>Ground Station Location</string>
<key>UILaunchStoryboardName</key>
<string>QGCLaunchScreen</string>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationLandscapeLeft</string>

45
ios/iOSForAppStore-Info-Source.plist

@ -16,51 +16,12 @@ @@ -16,51 +16,12 @@
<string>QGC uses UVC devices for video streaming.</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>We do not access it. Apple thinks we do.</string>
<key>UILaunchStoryboardName</key>
<string>QGCLaunchScreen</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<key>CFBundleIcons</key>
<dict>
<key>CFBundlePrimaryIcon</key>
<dict>
<key>CFBundleIconFiles</key>
<array>
<string>AppIcon29x29.png</string>
<string>AppIcon29x29@2x.png</string>
<string>AppIcon40x40@2x.png</string>
<string>AppIcon57x57.png</string>
<string>AppIcon57x57@2x.png</string>
<string>AppIcon60x60@2x.png</string>
</array>
</dict>
</dict>
<key>CFBundleIcons~ipad</key>
<dict>
<key>CFBundlePrimaryIcon</key>
<dict>
<key>CFBundleIconFiles</key>
<array>
<string>AppIcon29x29.png</string>
<string>AppIcon29x29@2x.png</string>
<string>AppIcon40x40@2x.png</string>
<string>AppIcon57x57.png</string>
<string>AppIcon57x57@2x.png</string>
<string>AppIcon60x60@2x.png</string>
<string>AppIcon29x29~ipad.png</string>
<string>AppIcon29x29@2x~ipad.png</string>
<string>AppIcon40x40~ipad.png</string>
<string>AppIcon40x40@2x~ipad.png</string>
<string>AppIcon50x50~ipad.png</string>
<string>AppIcon50x50@2x~ipad.png</string>
<string>AppIcon72x72~ipad.png</string>
<string>AppIcon72x72@2x~ipad.png</string>
<string>AppIcon76x76~ipad.png</string>
<string>AppIcon76x76@2x~ipad.png</string>
<string>AppIcon83.5x83.5@2x~ipad.png</string>
</array>
</dict>
</dict>
<key>CFBundleIdentifier</key>
<string>org.QGroundControl.qgc</string>
<key>CFBundleInfoDictionaryVersion</key>
@ -85,8 +46,6 @@ @@ -85,8 +46,6 @@
<string>Ground Station Location</string>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>Ground Station Location</string>
<key>UILaunchStoryboardName</key>
<string>QGCLaunchScreen</string>
<key>NSBluetoothPeripheralUsageDescription</key>
<string>QGroundControl would like to use bluetooth.</string>
<key>UIRequiresFullScreen</key>

4
qgroundcontrol.pro

@ -62,9 +62,9 @@ iOSBuild { @@ -62,9 +62,9 @@ iOSBuild {
QMAKE_INFO_PLIST = $${BASEDIR}/ios/iOS-Info.plist
OTHER_FILES += $${BASEDIR}/ios/iOS-Info.plist
}
BUNDLE.files = $$files($$PWD/ios/AppIcon*.png) $$PWD/ios/QGCLaunchScreen.xib $$QMAKE_INFO_PLIST
QMAKE_ASSET_CATALOGS += ios/Images.xcassets
BUNDLE.files = ios/QGCLaunchScreen.xib $$QMAKE_INFO_PLIST
QMAKE_BUNDLE_DATA += BUNDLE
#-- TODO: Add iTunesArtwork
}
LinuxBuild {

Loading…
Cancel
Save