Skip to content

Instantly share code, notes, and snippets.

@munirwanis
Last active June 19, 2017 17:05
Show Gist options
  • Save munirwanis/5dce00bab023a70f11f4df50efd90ddf to your computer and use it in GitHub Desktop.
Save munirwanis/5dce00bab023a70f11f4df50efd90ddf to your computer and use it in GitHub Desktop.
iOS Development helpers
# Search for token
pod trunk me --verbose
# or use this command instead
cat ~/.netrc
# will result:
# machine trunk.cocoapods.org
# login user@example.com
# password 0000000011111111
# get the password and save on COCOAPODS_TRUNK_TOKEN env var
# this command prints exactly the token
grep -s password ~/.netrc | awk '{print $2}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment