summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2018-10-29 12:22:00 -0400
committerJason Wray <jason@mapbox.com>2018-10-29 12:24:32 -0400
commit3377660806752b31614336307742b460c7a025b0 (patch)
treee0fc92b8445e88e7f32c737bcde29d30794f1f3c
parent200ba355b58b7f74c397d496bed1deff1b394582 (diff)
downloadqtlocation-mapboxgl-3377660806752b31614336307742b460c7a025b0.tar.gz
[ios] Update pre-release installation instructionsupstream/fb-pre-release-installation
-rw-r--r--platform/ios/INSTALL.md12
-rw-r--r--platform/ios/scripts/release-notes-github.md.ejs5
2 files changed, 10 insertions, 7 deletions
diff --git a/platform/ios/INSTALL.md b/platform/ios/INSTALL.md
index 25dbc53bdc..a5e59994b7 100644
--- a/platform/ios/INSTALL.md
+++ b/platform/ios/INSTALL.md
@@ -104,12 +104,14 @@ You can alternatively install the SDK as a static framework:
#### CocoaPods
+For instructions on installing stable release versions of the Mapbox Maps SDK for iOS with CocoaPods, see [our website](https://www.mapbox.com/install/ios/cocoapods/).
+
##### Testing pre-releases with CocoaPods
-To test pre-releases and/or betas, you can reference the pre-release like so in your Podfile:
+To test pre-releases of the dynamic framework, directly specify the version in your Podfile:
```rb
-pod 'Mapbox-iOS-SDK-symbols', podspec: 'https://raw.githubusercontent.com/mapbox/mapbox-gl-native/<insert branch or tag>/platform/ios/Mapbox-iOS-SDK-symbols.podspec'
+pod 'Mapbox-iOS-SDK', '~> x.x.x-alpha.1'
```
##### Testing nightly releases with CocoaPods
@@ -140,7 +142,11 @@ For instructions on installing stable release versions of the Mapbox Maps SDK fo
##### Testing pre-releases with Carthage
-Carthage currently does not support pre-release versions of binaries.
+To test pre-releases of the dynamic framework, directly specify the version in your Cartfile:
+
+```json
+binary "https://www.mapbox.com/ios-sdk/Mapbox-iOS-SDK.json" ~> x.x.x-alpha.1
+```
##### Using your own build with Carthage
diff --git a/platform/ios/scripts/release-notes-github.md.ejs b/platform/ios/scripts/release-notes-github.md.ejs
index 91115225e9..0db4c5af51 100644
--- a/platform/ios/scripts/release-notes-github.md.ejs
+++ b/platform/ios/scripts/release-notes-github.md.ejs
@@ -3,10 +3,7 @@
<%-CHANGELOG-%>
<% if (isPrerelease) { %>
-To install this prerelease via CocoaPods, point your Podfile to either of these URLs:
-
-* https://raw.githubusercontent.com/mapbox/mapbox-gl-native/ios-v<%-CURRENTVERSION%>/platform/ios/Mapbox-iOS-SDK.podspec
-* https://raw.githubusercontent.com/mapbox/mapbox-gl-native/ios-v<%-CURRENTVERSION%>/platform/ios/Mapbox-iOS-SDK-symbols.podspec
+To install this pre-release via a dependency manager, see our [CocoaPods](https://github.com/mapbox/mapbox-gl-native/blob/<%-CURRENTVERSION%>/platform/ios/INSTALL.md#CocoaPods) or [Carthage](https://github.com/mapbox/mapbox-gl-native/blob/<%-CURRENTVERSION%>/platform/ios/INSTALL.md#Carthage) instructions.
<% } -%>
Documentation is [available online](https://www.mapbox.com/ios-sdk/api/<%-CURRENTVERSION%>/) or as part of the download.