iOS registration of trunk and change of trunk account information (create podspec file, support the preparatory work for pod import)

Detailed process of registering trunk

First check whether it has been registered, the command is as follows:

pod trunk me

If not registered, use the following command to register:

pod trunk register'email address''s-ITBoy'

Then your mailbox will receive a message, click the link in it to verify, so that the registration is completed

Then you can run the following command to view:

pod trunk me

 

Modify trunk account related information

1. To obtain information about the current trunk account, execute the following commands:

grep -A2 'trunk.cocoapods.org' ~ / .netrc

2. Modify the relevant information and execute the following commands:

curl -v -H "Authorization: Token here fill in the password obtained in the previous step" -H "Content-Type: application/json" -X POST -d'{"email":" fill in the email address here","name": "Fill in the name that needs to be changed here", "description":"Fill in the description information here"}' https://trunk.cocoapods.org/api/v1/sessions

Guess you like

Origin blog.csdn.net/sss1507089/article/details/113242477