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?
Edit: Sometimes I also get the error: [!] You need to register a session first.
A Podspec, or Spec, describes a version of a Pod library. One Pod, over the course of time, will have many Specs. It includes details about where the source should be fetched from, what files to use, the build settings to apply, and other general metadata such as its name, version, and description.
A Podspec file, or Spec, describes a version of a Pod library. It includes details about where the source files are located, which files to use, the build settings to apply, dependencies, frameworks used and other general metadata such as the name, version and description for the Pod.
To create a Podspec, navigate to your project file in the Terminal. Run the following command to create the file: touch FantasticView. podspec . Now open the file using an editor.
<CocoaPods Trunk. 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.
Run the following command in terminal:
pod trunk register [email protected] 'Your Name'
Click the link in the email that is sent to you.
Run your pod trunk push
command in terminal again
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