Skip to content

Commit

Permalink
Prepare v2.1.1 release to update podspec dependency (#244)
Browse files Browse the repository at this point in the history
### Description
Fixes MapboxSearch and MapboxSearchUI in cocoapods by adding dependency for MapboxCoreSearch v2.1.0 

- Key change is in MapboxSearch podspec adding a dependency on MapboxCoreSearch pod
  • Loading branch information
aokj4ck authored May 29, 2024
1 parent 2dfeaa3 commit ea51701
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 10 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ Guide: https://keepachangelog.com/en/1.0.0/

<!-- Add changes for active work here -->

## 2.1.1

- [Core] Fix MapboxCoreSearch dependency when using cocoapods

## 2.1.0

- [Offline] Expose selectTileset function for offline mode
Expand Down
2 changes: 1 addition & 1 deletion MapboxSearch.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'MapboxSearch'
s.version = '2.1.0'
s.version = '2.1.1'
s.summary = 'Search SDK for Mapbox Search API'

# This description is used to generate tags and improve search results.
Expand Down
4 changes: 2 additions & 2 deletions MapboxSearchUI.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'MapboxSearchUI'
s.version = '2.1.0'
s.version = '2.1.1'
s.summary = 'Search UI for Mapbox Search API'

# This description is used to generate tags and improve search results.
Expand All @@ -23,5 +23,5 @@ Card style custom UI with full search functionality powered by Mapbox Search API

s.vendored_frameworks = "**/#{s.name}.xcframework"

s.dependency 'MapboxSearch', "2.1.0"
s.dependency 'MapboxSearch', "2.1.1"
end
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ Once you've installed the prerequisites, no additional steps are needed: Open th
You can find the following documentation pages helpful:
- [Search SDK for iOS guide](https://docs.mapbox.com/ios/search/guides/)
- [MapboxSearch reference](https://docs.mapbox.com/ios/search/api/core/2.1.0/)
- [MapboxSearchUI reference](https://docs.mapbox.com/ios/search/api/ui/2.1.0/)
- [MapboxSearch reference](https://docs.mapbox.com/ios/search/api/core/2.1.1/)
- [MapboxSearchUI reference](https://docs.mapbox.com/ios/search/api/ui/2.1.1/)
## Project structure overview
Expand All @@ -108,13 +108,13 @@ MapboxSearchDemoApplication provides a Demo app wih MapboxSearchUI.framework pre
##### MapboxSearch
To integrate latest preview version of `MapboxSearch` into your Xcode project using CocoaPods, specify it in your `Podfile`:
```
pod 'MapboxSearch', ">= 2.1.0", "< 3.0"
pod 'MapboxSearch', ">= 2.1.1", "< 3.0"
```
##### MapboxSearchUI
To integrate latest preview version of `MapboxSearchUI` into your Xcode project using CocoaPods, specify it in your `Podfile`:
```
pod 'MapboxSearchUI', ">= 2.1.0", "< 3.0"
pod 'MapboxSearchUI', ">= 2.1.1", "< 3.0"
```
### Swift Package Manager
Expand Down
4 changes: 2 additions & 2 deletions Search Documentation.docc/Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ To add the Mapbox Search SDK dependency with CocoaPods, you will need to configu
```ruby
use_frameworks!
target "TargetNameForYourApp" do
pod 'MapboxSearchUI', ">= 2.1.0", "< 3.0"
pod 'MapboxSearchUI', ">= 2.1.1", "< 3.0"
end
```

Expand All @@ -68,7 +68,7 @@ To add the Mapbox Search SDK dependency with CocoaPods, you will need to configu
```ruby
use_frameworks!
target "TargetNameForYourApp" do
pod 'MapboxSearch', ">= 2.1.0", "< 3.0"
pod 'MapboxSearch', ">= 2.1.1", "< 3.0"
end
```

Expand Down
2 changes: 1 addition & 1 deletion Sources/MapboxSearch/PublicAPI/MapboxSearchVersion.swift
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/// Mapbox Search SDK version variable
public let mapboxSearchSDKVersion = "2.1.0"
public let mapboxSearchSDKVersion = "2.1.1"

0 comments on commit ea51701

Please sign in to comment.