Guest

MacTuts

By: a guest on Jul 11th, 2009  |  syntax: None  |  size: 0.50 KB  |  hits: 2,462  |  expires: Never
download  |  raw  |  embed  |  report abuse
Copied
  1. #!/bin/bash
  2. cd /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Plug-ins/iPhoneOS\ Build\ System\ Support.xcplugin/Contents/MacOS/
  3.  
  4. dd if=iPhoneOS\ Build\ System\ Support of=working bs=500 count=255
  5. printf "\x8f\x2a\x00\x00" >> working
  6. dd if=iPhoneOS\ Build\ System\ Support of=working bs=1 skip=127504 seek=127504
  7. /bin/mv -n iPhoneOS\ Build\ System\ Support iPhoneOS\ Build\ System\ Support.original
  8. /bin/mv working iPhoneOS\ Build\ System\ Support
  9. chmod a+x iPhoneOS\ Build\ System\ Support