summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2017-10-11 17:34:35 -0700
committerJason Wray <jason@mapbox.com>2017-10-11 17:34:35 -0700
commitfe5330738b983bc8ae22bc702e7123caa1b2dcac (patch)
treebbdb1b6105150444628f41d73e46dd6fff5b727d
parent9f8f1b01fa0b2c2dc8ead0187620f55aeb9d2fde (diff)
downloadqtlocation-mapboxgl-fe5330738b983bc8ae22bc702e7123caa1b2dcac.tar.gz
[ios] Add nightly fastlane config
-rw-r--r--platform/ios/app/Info.plist30
-rw-r--r--platform/ios/fastlane/Fastfile37
2 files changed, 53 insertions, 14 deletions
diff --git a/platform/ios/app/Info.plist b/platform/ios/app/Info.plist
index a98a8c10c5..1c40241efd 100644
--- a/platform/ios/app/Info.plist
+++ b/platform/ios/app/Info.plist
@@ -17,21 +17,34 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>0.0.2</string>
+ <string>1.0</string>
<key>CFBundleSignature</key>
<string>MBGL</string>
<key>CFBundleVersion</key>
<string>7877</string>
+ <key>ITSAppUsesNonExemptEncryption</key>
+ <false/>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSHumanReadableCopyright</key>
<string>© 2014–2017 Mapbox</string>
+ <key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
+ <string>The map will display your location. If you choose Always, the map may also use your location when it isn’t visible in order to improve OpenStreetMap and Mapbox products.</string>
<key>NSLocationAlwaysUsageDescription</key>
<string>The map will display your location. The map may also use your location when it isn’t visible in order to improve OpenStreetMap and Mapbox products.</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>The map will display your location.</string>
- <key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
- <string>The map will display your location. If you choose Always, the map may also use your location when it isn’t visible in order to improve OpenStreetMap and Mapbox products.</string>
+ <key>UIApplicationShortcutItems</key>
+ <array>
+ <dict>
+ <key>UIApplicationShortcutItemIconFile</key>
+ <string>settings</string>
+ <key>UIApplicationShortcutItemTitle</key>
+ <string>Settings</string>
+ <key>UIApplicationShortcutItemType</key>
+ <string>$(PRODUCT_BUNDLE_IDENTIFIER).settings</string>
+ </dict>
+ </array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
@@ -53,16 +66,5 @@
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
- <key>UIApplicationShortcutItems</key>
- <array>
- <dict>
- <key>UIApplicationShortcutItemTitle</key>
- <string>Settings</string>
- <key>UIApplicationShortcutItemType</key>
- <string>$(PRODUCT_BUNDLE_IDENTIFIER).settings</string>
- <key>UIApplicationShortcutItemIconFile</key>
- <string>settings</string>
- </dict>
- </array>
</dict>
</plist>
diff --git a/platform/ios/fastlane/Fastfile b/platform/ios/fastlane/Fastfile
new file mode 100644
index 0000000000..a32a9147bc
--- /dev/null
+++ b/platform/ios/fastlane/Fastfile
@@ -0,0 +1,37 @@
+# Customise this file, documentation can be found here:
+# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
+# All available actions: https://docs.fastlane.tools/actions
+# can also be listed using the `fastlane actions` command
+
+# Change the syntax highlighting to Ruby
+# All lines starting with a # are ignored when running `fastlane`
+
+fastlane_version "2.60.0"
+opt_out_usage
+
+default_platform :ios
+
+platform :ios do
+ before_all do
+ #update_fastlane
+ update_info_plist(
+ app_identifier: "com.mapbox.MapboxGL-nightly",
+ display_name: "Nightly",
+ plist_path: "app/Info.plist",
+ xcodeproj: "ios.xcodeproj"
+ )
+ end
+
+ desc "Submit a new build to Apple TestFlight."
+ lane :beta do
+ increment_build_number(build_number: 1)#Time.now.strftime("%Y%m%d"))
+ gym(scheme: "iosapp", include_bitcode: true)
+ pilot(skip_waiting_for_build_processing: true)
+ end
+
+ after_all do |lane|
+ end
+
+ error do |lane, exception|
+ end
+end