Created
March 28, 2018 10:07
-
-
Save akkyie/ac257b37f04951894ce52e6b0053a0bc to your computer and use it in GitHub Desktop.
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
for FRAMEWORK in `\find Carthage/Build/iOS/ -name "*.framework"`; do | |
PLIST=$FRAMEWORK/Info.plist | |
grep "<string>com.firebase.Firebase</string>" $PLIST >/dev/null | |
if [ $? = 0 ]; then | |
NAME=$(basename $FRAMEWORK .framework) | |
echo "Replacing bundle identifier of $NAME" | |
plutil -replace CFBundleIdentifier -string "com.firebase.Firebase.$NAME" $PLIST | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment