Skip to content

Commit

Permalink
Update the stable version 2.18.0 in README (#4632)
Browse files Browse the repository at this point in the history
Co-authored-by: root <root@3685427eb227>
  • Loading branch information
mapbox-github-ci-writer-public-1[bot] and root authored Apr 15, 2024
1 parent 44ece0e commit b9c235e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ To install the MapboxNavigation framework in an application using [Swift Package

1. Enter `https://github.com/mapbox/mapbox-navigation-ios.git` as the package repository and click Next.

1. Set Rules to Version, Up to Next Major, and enter `2.17.0` as the minimum version requirement. Click Next.
1. Set Rules to Version, Up to Next Major, and enter `2.18.0` as the minimum version requirement. Click Next.

To install the MapboxNavigation framework in another package rather than an application, run `swift package init` to create a Package.swift, then add the following dependency:

```swift
// Latest stable release
.package(name: "MapboxNavigation", url: "https://github.com/mapbox/mapbox-navigation-ios.git", from: "2.17.0")
.package(name: "MapboxNavigation", url: "https://github.com/mapbox/mapbox-navigation-ios.git", from: "2.18.0")
// Latest prerelease
.package(name: "MapboxNavigation", url: "https://github.com/mapbox/mapbox-navigation-ios.git", .exact("2.18.0-beta.1"))
```
Expand All @@ -72,8 +72,8 @@ To install the MapboxNavigation framework using [CocoaPods](https://cocoapods.or
1. Create a [Podfile](https://guides.cocoapods.org/syntax/podfile.html) with the following specification:
```ruby
# Latest stable release
pod 'MapboxCoreNavigation', '~> 2.17'
pod 'MapboxNavigation', '~> 2.17'
pod 'MapboxCoreNavigation', '~> 2.18'
pod 'MapboxNavigation', '~> 2.18'
# Latest prerelease
pod 'MapboxCoreNavigation', :git => 'https://github.com/mapbox/mapbox-navigation-ios.git', :tag => 'v2.18.0-beta.1'
pod 'MapboxNavigation', :git => 'https://github.com/mapbox/mapbox-navigation-ios.git', :tag => 'v2.18.0-beta.1'
Expand Down Expand Up @@ -101,7 +101,7 @@ To install the MapboxNavigation framework using [Carthage](https://github.com/Ca
1. Create a [Cartfile](https://github.com/Carthage/Carthage/blob/master/Documentation/Artifacts.md#github-repositories) with the following dependency:
```cartfile
# Latest stable release
github "mapbox/mapbox-navigation-ios" ~> 2.17
github "mapbox/mapbox-navigation-ios" ~> 2.18
# Latest prerelease
github "mapbox/mapbox-navigation-ios" "v2.18.0-beta.1"
```
Expand Down
10 changes: 5 additions & 5 deletions custom-navigation.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ To install the MapboxCoreNavigation framework in an application using [Swift Pac

1. Enter `https://github.com/mapbox/mapbox-navigation-ios.git` as the package repository and click Next.

1. Set Rules to Version, Up to Next Major, and enter `2.17.0` as the minimum version requirement. Click Next.
1. Set Rules to Version, Up to Next Major, and enter `2.18.0` as the minimum version requirement. Click Next.

To install the MapboxCoreNavigation framework in another package rather than an application, run `swift package init` to create a Package.swift, then add the following dependency:

```swift
// Latest stable release
.package(name: "MapboxCoreNavigation", url: "https://github.com/mapbox/mapbox-navigation-ios.git", from: "2.17.0")
.package(name: "MapboxCoreNavigation", url: "https://github.com/mapbox/mapbox-navigation-ios.git", from: "2.18.0")
// Latest prerelease
.package(name: "MapboxCoreNavigation", url: "https://github.com/mapbox/mapbox-navigation-ios.git", .exact("2.18.0-beta.1"))
```
Expand All @@ -57,7 +57,7 @@ To install Mapbox Core Navigation using [CocoaPods](https://cocoapods.org/):
1. Create a [Podfile](https://guides.cocoapods.org/syntax/podfile.html) with the following specification:
```ruby
# Latest stable release
pod 'MapboxCoreNavigation', '~> 2.17'
pod 'MapboxCoreNavigation', '~> 2.18'
# Latest prerelease
pod 'MapboxCoreNavigation', :git => 'https://github.com/mapbox/mapbox-navigation-ios.git', :tag => 'v2.18.0-beta.1'
```
Expand Down Expand Up @@ -86,7 +86,7 @@ To install Mapbox Navigation using [Carthage](https://github.com/Carthage/Cartha
1. Create a [Cartfile](https://github.com/Carthage/Carthage/blob/master/Documentation/Artifacts.md#github-repositories) with the following dependency:
```cartfile
# Latest stable release
github "mapbox/mapbox-navigation-ios" ~> 2.17
github "mapbox/mapbox-navigation-ios" ~> 2.18
# Latest prerelease
github "mapbox/mapbox-navigation-ios" "v2.18.0-beta.1"
```
Expand All @@ -111,4 +111,4 @@ To install the MapboxCoreNavigation framework using [Swift Package Manager](http

1. Enter `https://github.com/mapbox/mapbox-navigation-ios.git` as the package repository and click Next.

1. Set Rules to Version, Up to Next Major, and enter `2.17.0` as the minimum version requirement. Click Next.
1. Set Rules to Version, Up to Next Major, and enter `2.18.0` as the minimum version requirement. Click Next.

0 comments on commit b9c235e

Please sign in to comment.