- Update
s.version
inFMDB.Podspec
. - Tag the release (
git tag x.y.z && git push --tags
). - Lint the podspec as a pre-check.
- Run
pod spec lint
from within a clean working copy. - If you have any failures, address the errors mentioned.
- Sometimes, errors are cryptic. A common problem is not having all of the supported simulators (macOS, iOS, watchOS, and tvOS) installed and updated.
- You can narrow down the problem platform(s) with e.g.
pod spec lint --platforms=watchos
to see which pass and which fail. - You can also get a lot more info with
pod spec lint --verbose
.
- Push the podspec up to CocoaPods with
pod trunk push
. You will need access as well as an active session (pod trunk me
/pod trunk register
). - 🍻