Skip to content

Commit 9eef683

Browse files
authored
Merge pull request #372 from meilisearch/authorization-issue-cocoa
Add a straightforward guide about the auth for cocoapods
2 parents 062fd1d + ac3ca75 commit 9eef683

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

CONTRIBUTING.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,13 @@ Once the changes are merged on `main`, you can publish the current draft release
152152

153153
GitHub Actions will be triggered and push the package to [CocoaPods](https://cocoapods.org/pods/meilisearch).
154154

155+
:warning: This error: `[!] Authentication token is invalid or unverified. Either verify it with the email that was sent or register a new session.` It will be raised when the authentication is expired. To fix the error, the Integrations team must do the authorization process again with the following:
156+
157+
1st step: Execute this in the repo's directory: `pod trunk register [email protected] 'Meilisearch'`<br/>
158+
2nd step: Confirm the link sent in the email.<br/>
159+
3rd step: Run `pod trunk me --verbose` and take the token from `Authorization: Token XXXXXXXXXXXXXXXXXXXXXXXXXX`.<br/>
160+
4th step: Update the token in the GitHub secrets interface `COCOAPODS_TRUNK_TOKEN`.<br/>
161+
155162
<hr>
156163

157164
Thank you again for reading this through. We can not wait to begin to work with you if you make your way through this contributing guide ❤️

0 commit comments

Comments
 (0)