Testing your Iphone app on a real device without paying

There's a way to put your application on a real device without paying Apple.. really!

First make a ‘pwned provisioning profile using the KeyChain Access

  1. Open up Keychain Access in Applications>Utilities.
  2. Go to Keychain Access>Certificate Assistant>Create a Certificate.
  3. For ‘Name’, type: iPhone Pwned Developer
  4. For ‘Identity Type’, leave it as ‘Self Signed Root’.
  5. For ‘Certificate Type’, choose ‘Code Signing’.
  6. Check the box for ‘Let me override defaults’.
  7. Click on Continue, and in the popup box that comes up.
  8. Type in any number under ‘Serial Number’.
  9. Leave ‘Validity Period (days)’ alone.
  10. Click on Continue.
  11. Fill in the details with whatever you want (not really necessary).
  12. Click on Continue.
  13. Click on Continue for the rest of the dialog boxes.

If successfully created, the last screen that shows up should say ‘Your certificate has ben successfully created.”. Click on the Done button, and close out of Keychain Access.

===============

UPDATE!

Open up your project settings in Xcode (Project>Edit Project Settings), go to the Build tab, and under ‘Code Signing’, extend ‘Code Signing Identity’, and choose ‘iPhone Pwned Developer’, which should be the name of the certificate you just made above.

===============

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’ VALUES. 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.

===============

UPDATE2!

You must have the installd patch installed through Cydia on your jailbroken device. You can add the cydia.hackulo.us repo (Manage>Sources>Edit>Add), and install AppSync 3.1.

===============

You should now be running your app on your device, and, oh yeah, you didn’t pay $pple their $99!


original article here:

http://gumballtech.com/2009/12/13/on-device-testing-wout-paying-99/

コメント

人気の投稿