Created
September 23, 2015 16:14
-
-
Save brightredchilli/ca63430518f0daa4dfa9 to your computer and use it in GitHub Desktop.
Remove CFBundleExecutable from pods
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
#!/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 | |
then | |
echo "Removing $KEY from $GOOGLESIGNINPLISTPATH" | |
defaults delete $GOOGLESIGNINPLISTPATH $KEY | |
fi |
Thank you so much! Was useful for me.
I can't believe this is relevant for 2023 lol
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've added this script as the last build phase (as mentioned here). I'm getting the following message in the Report navigator:
Is this normal? Perhaps
GOOGLESIGNINPLISTPATH
should end with/Info
**.plist
** ?All I know is that it had no effect on my build :\