Created
January 3, 2017 20:28
-
-
Save perlguy99/25beb52077cdac14eeb1573567358be4 to your computer and use it in GitHub Desktop.
Xcode Sign All Embedded Frameworks, works with projects that have spaces in them
This file contains 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
OLSIFS=$IFS | |
IFS=$'\n' | |
for f in $(find $CODESIGNING_FOLDER_PATH -name '*.framework') | |
do | |
codesign --force --sign "${EXPANDED_CODE_SIGN_IDENTITY}" --preserve-metadata=identifier,entitlements --timestamp=none "$f" | |
done | |
IFS=$OLDIFS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using the EXPANDED_CODE_SIGN_IDENTITY resolved issues I was having because I have multiple developer accounts on one machine.