Justin Vallely Justin Vallely - 2 months ago 39
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
  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