Skip to content

Instantly share code, notes, and snippets.

@dacaiguoguogmail
Last active June 2, 2017 04:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dacaiguoguogmail/9392eae15fb0d9774bac741daead78b2 to your computer and use it in GitHub Desktop.
Save dacaiguoguogmail/9392eae15fb0d9774bac741daead78b2 to your computer and use it in GitHub Desktop.
revert fix cocoapods podfile.lock strange quotation marks
#!/bin/zsh
podpath=$(echo `which pod`)
poddir=$(dirname $podpath)
podcoregemdir="$poddir"/../gems/cocoapods-core-1.1.1/lib/cocoapods-core/
echo "$podcoregemdir"lockfile.rb
cd $podcoregemdir
curl -fsSL https://raw.githubusercontent.com/CocoaPods/Core/1.1.1/lib/cocoapods-core/lockfile.rb -O
@dacaiguoguogmail
Copy link
Author

dacaiguoguogmail commented Jun 2, 2017

usage

curl -o- -fsSL https://gist.githubusercontent.com/dacaiguoguogmail/9392eae15fb0d9774bac741daead78b2/raw/9f3a73337cae7042fc7782760b21a0fc589047e1/fix_pod_1_1_1_revert.sh | zsh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment