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/e56ae34334a33bf36cd5ff8d1119806e to your computer and use it in GitHub Desktop.
Save dacaiguoguogmail/e56ae34334a33bf36cd5ff8d1119806e to your computer and use it in GitHub Desktop.
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/dacaiguoguogmail/Core/master/lib/cocoapods-core/lockfile.rb -O
@dacaiguoguogmail
Copy link
Author

dacaiguoguogmail commented Jun 2, 2017

update usage

curl -o- -fsSL https://gist.githubusercontent.com/dacaiguoguogmail/e56ae34334a33bf36cd5ff8d1119806e/raw/109c964a9688c15a473f49d3ad42f84e05b36782/fix_pod_1_1_1.sh | zsh

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