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

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?


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