CocoaPods Trunk cannot push update: "You need to register a session first."

cocoapods

Solution

Register a CocoaPods session in Terminal like so:

`pod trunk register name@example.org '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

Problem

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?

Original source