Skip to content

Instantly share code, notes, and snippets.

@shashankpali
Last active August 13, 2016 04:41
Show Gist options
  • Save shashankpali/d83e5345269893eb450231760bdf311d to your computer and use it in GitHub Desktop.
Save shashankpali/d83e5345269893eb450231760bdf311d to your computer and use it in GitHub Desktop.
Uploading a pod
1. Make sure you have tagged a release version on GitHub.
2. The podspec file must contain the same version as GitHub.
// change git username
3. git config --global user.name MyName --replace-all
// change git email
4. git config --global user.email any@email --replace-all
// validate
5. pod lib lint LibName.podspec --allow-warnings
// upload
6. pod trunk push LibName.podspec --allow-warnings
-----------------------------------------------------
To register and unregister Devices
// register trunk
1. pod trunk register real@email.com 'Name' --description='Device name'
// unregister trunk
2. pod trunk me clean-sessions --all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment