How to skip provisioning profile for iPhone SDK (build 9M2517) for firmware 2.1
First close your Xcode and backup the PhoneOS.platform Info.plist by running this in Mac Terminal
sudo cp -p /Developer/Platforms/iPhoneOS.platform/Info.plist /Developer/Platforms/iPhoneOS.platform/Info.plist.bak
Then edit the PhoneOS.platform Info.plist file
sudo vi /Developer/Platforms/iPhoneOS.platform/Info.plist
and change
PROVISIONING_PROFILE_ALLOWED
YES
PROVISIONING_PROFILE_REQUIRED
YES
to this
PROVISIONING_PROFILE_ALLOWED
NO
PROVISIONING_PROFILE_REQUIRED
NO
Launch Xcode and then create new project using my Xcode Template for pwned device "View-Based Application" to build and go to either Project Settings 2.0 or Project Settings 2.1 or iPhone Simulator and you don't need the trick to reset it anymore.
Remember, you still need a fake codesign identity and patched MobileInstallation binary in your iPhone.
If you are registered iPhone Developer with provisioning profile and codesign cert from Apple, please remember to revert the PhoneOS.platform Info.plist back to the original one before building your project to App Store.
没有评论:
发表评论