I am attempting to publish my library using the new CocoaPods Trunk service.
pod trunk push your-library.podspec
This gives the error:
[!] You need to register a session first.
How does one register a session?
CocoaPods Trunk is an authentication and CocoaPods API service. To publish new or updated libraries to CocoaPods for public release you will need to be registered with Trunk and have a valid Trunk session on your current device. You can read about Trunk's history and development on the blog, and about private pods for yourself or your team.
To publish new or updated libraries to CocoaPods for public release you will need to be registered with Trunk and have a valid Trunk session on your current device. You can read about Trunk's history and development on the blog, and about private pods for yourself or your team.
Trunk accounts do not have passwords, only per-computer session tokens. pod trunk push [NAME.podspec] will deploy your Podspec to Trunk and make it publicly available. You can also deploy Podspecs to your own private specs repo with pod repo push REPO [NAME.podspec].
Register a CocoaPods session in Terminal like so:
pod trunk register [email protected] 'Your Name' --description='macbook pro'
You will then be emailed at the provided address, click a link, and confirm your session.
http://guides.cocoapods.org/making/getting-setup-with-trunk.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With