Skip to content

Instantly share code, notes, and snippets.

@brightredchilli
Created September 23, 2015 16:14
Show Gist options
  • Save brightredchilli/ca63430518f0daa4dfa9 to your computer and use it in GitHub Desktop.
Save brightredchilli/ca63430518f0daa4dfa9 to your computer and use it in GitHub Desktop.
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
then
echo "Removing $KEY from $GOOGLESIGNINPLISTPATH"
defaults delete $GOOGLESIGNINPLISTPATH $KEY
fi
@ivanglushko
Copy link

ivanglushko commented Apr 25, 2023

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