Skip to content

Instantly share code, notes, and snippets.

@stal888
Created April 8, 2014 01:49
Show Gist options
  • Save stal888/10081906 to your computer and use it in GitHub Desktop.
Save stal888/10081906 to your computer and use it in GitHub Desktop.
quick xcode iOS codesigning patcher
#!/bin/bash
XCODE=`xcode-select -p`
sudo true || exit 1
sudo plutil -convert xml1 "$XCODE/Platforms/iPhoneOS.platform/Info.plist"
sudo sed -e s/XCiPhoneOSCodeSignContext/XCCodeSignContext/g -i _backup "$XCODE/Platforms/iPhoneOS.platform/Info.plist"
echo "OK."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment