Skip to content

Commit

Permalink
Merge pull request #871 from ccgus/cocoapods-docs
Browse files Browse the repository at this point in the history
add CocoaPods release process docs
  • Loading branch information
ccgus authored May 23, 2024
2 parents 7de32c2 + 017c765 commit 622da1e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions COCOAPODS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# CocoaPods release process

1. Update `s.version` in `FMDB.Podspec`.
2. Tag the release (`git tag x.y.z && git push --tags`).
3. 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`.
4. 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`).
5. 🍻
1 change: 1 addition & 0 deletions CONTRIBUTORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,6 @@ Xianliang Li (Oldman)
David Hart
Mike Ash
Julius Scott
Justin Miller

Aaaaannnd, Gus Mueller (that's me!)

0 comments on commit 622da1e

Please sign in to comment.