Skip to content

Instantly share code, notes, and snippets.

@perlguy99
Created January 3, 2017 20:28
Show Gist options
  • Save perlguy99/25beb52077cdac14eeb1573567358be4 to your computer and use it in GitHub Desktop.
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
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
@perlguy99
Copy link
Author

Using the EXPANDED_CODE_SIGN_IDENTITY resolved issues I was having because I have multiple developer accounts on one machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment