This repository is for CocoaPods podspecs that are intended for public distribution, but may not necessarily be suitable or ready for CocoaPods trunk
.
- Add this pod spec repo as a source in your
Podfile
:(Also add the main CocoaPods trunk repo to keep being able to install other pods.)source 'https://github.com/mapbox/pod-specs.git' source 'https://github.com/CocoaPods/Specs.git'
- In your
Podfile
, bump the pod you want to use to a version that exists in this repo. pod install --repo-update
pod repo add mapbox-public https://github.com/mapbox/pod-specs
(first time only)- Make sure your
podspec
file has the name and version you expect. If you're mirroring a publicly available podspec (i.e., one on CocoaPods trunk) and you intend to push an alternate build, use a unique version string (e.g.,5.2.0-custom.1
). pod repo push mapbox-public <framework-name-here>.podspec