Justin Vallely Justin Vallely - 1 year ago 160
Objective-C Question

Error when trying to run ```pod trunk push [cocoapod].podspec```

When trying to push an update to my cocoapod framework to the repo with

pod trunk push
as mentioned in the title, I get the following error:

[!] Authentication token is invalid or unverified. Either verify it with the email that was sent or register a new session.

I've updated the cocoapod before, how do I verify my email or session?

Answer Source
  1. Run the following command in terminal:

    pod trunk register yourEmail@example.com

  2. Click the link in the email that is sent to you.

  3. Run your pod trunk push command in terminal again

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download