`
yymeeting
  • 浏览: 4733 次
  • 性别: Icon_minigender_1
  • 来自: 上海
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论

Fake Code Sign Your Apps For Cydia submission + iPad Apps

阅读更多
Fake Code Sign Your Apps For Cydia submission + iPad Apps

Ok now there is already the ldid tutorial but you probably would have seen if you tried using it with an iPad app that you get errors.

So here's a faster better more reliable method that works off up through the SDK's to the 4.0 beta's and above.

This has been working on all versions of Xcode 3.1.4, 3.2.2, and the latest 3.2.3 beta 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: [whatever you want], i used "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 for a device.



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
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics