Skip to content

Instantly share code, notes, and snippets.

@pigoz
Created August 26, 2012 09:34
Show Gist options
  • Save pigoz/3476617 to your computer and use it in GitHub Desktop.
Save pigoz/3476617 to your computer and use it in GitHub Desktop.
Build iOS Application for a Jailbroken device

Here are the steps I followed (Xcode 4.3 and iOS 5.1.1):

  • Create a self signed certificate from Keychain (the only that must be changed is the type of certificate which must be Code Signing, this is in the first form).

  • This is easily reverseable by restoring the .bak file or inverting the sed substitution:

    sudo /usr/bin/sed -i .bak 's/XCiPhoneOSCodeSignContext/XCCodeSignContext/' \
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Info.plist
    
  • Restart Xcode! (really)

  • Got to your project's Build settings (show them all) and change the Code Signing Identity with the one you created at the first step.

There are more steps here that cover debugging but I don't want to go there just yet :) http://techtalktone.wordpress.com/2011/12/05/testing-your-ios-apps-on-a-jailbroken-device-2/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment