-
Notifications
You must be signed in to change notification settings - Fork 2
How To Podify
Pablo Villar edited this page Sep 29, 2016
·
16 revisions
- Create the podspec file in your root folder (
/ExampleProject.podspec) and fill it by using this template as model. - Create a
.swift-versionfile in your project, that must only contain the swift version value in which the library compiles (for instance:3.0). - Create a commit, a pull request and, once merged into master branch, create a git tag with the version number you specified in the
podspecfile. - Run in terminal (using
--verboseif you get errors):-
pod lib lint, which checks your project locally. -
pod spec lint, which checks remotely against git.
-
- Once passed, trunk, which is basically running:
-
pod trunk me- if no session registered:
pod trunk register [email protected] 'Your Name' --description='your computer description'- Verify email link
- if no session registered:
pod trunk push
-
It will take some time for your pod to be available in cocoapods search page 🔍 .