Skip to content

Instantly share code, notes, and snippets.

@m1entus
Last active September 28, 2015 11:44
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save m1entus/9660734 to your computer and use it in GitHub Desktop.
Save m1entus/9660734 to your computer and use it in GitHub Desktop.

CocoaPods + Xcode Continuous Integration

Script:

cd ${SRCROOT}
if [ -e "Pods" ]
then
pod install
else
touch Pods
rm -r -f Pods
pod repo update
pod install
fi

If you re getting this error:

Diff: /../Podfile.lock: No such file or directory
Diff: /Manifest.lock: No such file or directory
The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.

Rerun your tests or if it doesn't help remove Podfile.lock from your repo

1 2 3 4 5 6

@christianroman
Copy link

Thanks for this, did you were able to archive the build with this setup?

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