Last active
August 29, 2015 14:19
-
-
Save mishagray/da2671c8ec0387909b9a to your computer and use it in GitHub Desktop.
Check Swift Pods Manifest.Lock script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff "DummyProjectForSwiftPods/Podfile.lock" "DummyProjectForSwiftPods/Pods/Manifest.lock" > /dev/null | |
if [[ $? != 0 ]] ; then | |
cat << EOM | |
error: The sandbox is not in sync with the DummyProjectForSwiftPods Podfile.lock. Run 'pod install' from the DummyProjectForSwiftPods directory or update your CocoaPods installation. | |
EOM | |
exit 1 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment