Skip to content

Instantly share code, notes, and snippets.

@brightredchilli
brightredchilli / editplist.sh
Created September 23, 2015 16:14
Remove CFBundleExecutable from pods
#!/bin/bash
# The purpose of this script is to remove the CFBundleExecutable script from all
# third party dependencies that dont'actually contain executables. This appears
# to be a new Xcode 7 requirement.
KEY='CFBundleExecutable'
GOOGLESIGNINPLISTPATH="$SRCROOT"/Pods/GoogleSignIn/Resources/GoogleSignIn.bundle/Info
if defaults read $GOOGLESIGNINPLISTPATH $KEY