-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add podspec for MapboxCoreSearch v2.1.0 alongside mapbox-search-ios (#…
…243) ### Description Fixes [SSDK-827](https://mapbox.atlassian.net/browse/SSDK-827) - Add podspec for MapboxCoreSearch v2.1.0 as required dependency for MapboxSearch - MapboxSearch is a required dependency for MapboxSearchUI - Requires synchronized releases for Core Search and Search iOS - Before updating v2 releases for Xcode 15.3 (alongside, but not entirely due to, PrivacyInfo.xcprivacy) framework format changes the Core Search framework did not use it's own pod. - Going forward MapboxCoreSearch.podspec will need to be published for all v2 Core releases - `make lint` will pass after MapboxCoreSearch.podspec is published ### Checklist - [N/A] Update `CHANGELOG` [SSDK-827]: https://mapbox.atlassian.net/browse/SSDK-827
- Loading branch information
Showing
4 changed files
with
41 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
Pod::Spec.new do |s| | ||
s.name = 'MapboxCoreSearch' | ||
s.version = '2.1.0' | ||
s.summary = 'Search Core SDK for Mapbox Search API' | ||
|
||
s.description = <<-DESC | ||
MapboxSearchSDK implement basic search functionality over Mapbox Search API | ||
Some iOS platfrom specifics applies. | ||
DESC | ||
|
||
s.homepage = 'https://www.mapbox.com/search-service' | ||
s.license = { :type => 'Mapbox TOS', :text => <<-LICENSE | ||
Copyright © 2024 Mapbox, Inc. | ||
You may use this code with your Mapbox account and under the Mapbox Terms of Service (available at: https://www.mapbox.com/legal/tos). | ||
All other rights reserved. | ||
LICENSE | ||
} | ||
s.author = { 'Mapbox' => 'mobile@mapbox.com' } | ||
s.source = { :http => "https://api.mapbox.com/downloads/v2/search-core-sdk/releases/ios/packages/#{s.version.to_s}/#{s.name}.xcframework.zip" } | ||
|
||
s.ios.deployment_target = '12.0' | ||
s.library = "stdc++" | ||
s.frameworks = "CoreLocation" | ||
s.cocoapods_version = ">= 1.9.0" # The first public version with XCFrameworks support | ||
|
||
# Force user_target_xcconfig instead of pod_target_xcconfig cause binary framework will not work with pod config. | ||
# It looks like c++ integration will be ignored for Aggregate target that CocoaPods make for binary frameworks | ||
s.user_target_xcconfig = { | ||
'CLANG_CXX_LIBRARY' => 'libc++', | ||
'OTHER_LDFLAGS' => '$(inherited) -ObjC' | ||
} | ||
|
||
s.vendored_frameworks = "**/#{s.name}.xcframework" | ||
s.dependency "MapboxCommon", "24.4.0" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters