Fake Code Sign iPhone & iPad Apps

Started by abbee, Apr 23, 2011, 07:42 AM

abbee

Ok now there is already the ldid tutorial but you probably would have seen if you tried using it with an iPad or 4.0 app that you get errors and ldid doesn't work with the iPhone SDK for 3.2 or 4.0.

So here's a faster, better and more reliable method that works off up through the iPhone SDK's to the iOS 4.0

This has been working on all versions of Xcode 3.1.4, 3.2.2, and the latest 3.2.3 for iPhone OS 4.0

You must first make a 'Jailbroken Developer' certificate with keychain access, which only needs to be done once. Make sure Xcode isn't open. To do this:

Open up Keychain Access in Applications > Utilities.
Go to Keychain Access > Certificate Assistant > Create a Certificate.
For 'Name', type: "Jailbroken Developer".
For 'Identity Type', leave it as 'Self Signed Root'.
For 'Certificate Type', choose 'Code Signing'.
Check the box for 'Let me override defaults'.
Click on Continue, and in the popup box that comes up.
Type in any number under 'Serial Number'.
Leave 'Validity Period (days)' alone.
Click on Continue.
Fill in the details with whatever you want (not really necessary).
Click on Continue.
Click on Continue for the rest of the dialog boxes.

The last screen that shows up should say "Your certificate has been successfully created".
Click on the Done button, and close out of Keychain Access.



Now comes the next step, which is to edit the Info.plist for the iPhoneOS.platform container:

1. Open /Developer/Platforms/iPhoneOS.platform/Info.plist with Property List Editor.
2. Look for all 'XCiPhoneOSCodeSignContext'. Replace that with 'XCCodeSignContext'. There should be two or three to replace.
3. Save the file.
4. Restart Xcode, and build your app with xcode set to device & release.


NOTE: You should now get a warning about it failing apple certificate checks but not an error.


Before you can build your app you must open up your project settings in Xcode (Project>Edit Project Settings), go to the Build tab, and under 'Code Signing', extend 'Code Signing Identity' choose 'Jailbroken Developer', which should be the name of the certificate you just made.


ENJOY!!



__________________
iPad 2 TPU Cases
ipad 2 Soft cases
iPad 2 Pouch Cases