Created
February 9, 2011 02:03
-
-
Save volca/817753 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
cd /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Plug-ins/iPhoneOS\ Build\ System\ Support.xcplugin/Contents/MacOS/ | |
dd if=iPhoneOS\ Build\ System\ Support of=working bs=500 count=255 | |
printf "\x8f\x2a\x00\x00" >> working | |
dd if=iPhoneOS\ Build\ System\ Support of=working bs=1 skip=127504 seek=127504 | |
/bin/mv -n iPhoneOS\ Build\ System\ Support iPhoneOS\ Build\ System\ Support.original | |
/bin/mv working iPhoneOS\ Build\ System\ Support | |
chmod a+x iPhoneOS\ Build\ System\ Support | |
mkdir /Developer/iphoneentitlements30 | |
cd /Developer/iphoneentitlements30 | |
curl -O http://www.alexwhittemore.com/iphone/gen_entitlements.txt | |
mv gen_entitlements.txt gen_entitlements.py | |
chmod 777 gen_entitlements.py | |
./gen_entitlements.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment