Search code examples
iosxcodejailbreak

Install Xcode app Without certificate


I want to install my term project app on my iPhone, the class gave me a developer account but the professor never "got around" to helping me provision it for debugging.

I'm jailbroken too so I figure there must be a way to get it on there, can anyone help?


Solution

  • There are ways for jailbroken iPhone. This one works well for iOS 5, but without debugging: http://techtalktone.wordpress.com/2011/12/05/testing-your-ios-apps-on-a-jailbroken-device-2/

    EDIT: After upgrading to the latest xcode from appstore, (I think is 4.3.2) and iOS sdk 5.1, there seems to be a problem with the final part of the guide (where you tell Xcode to allow it)

    It didn't work for me as well. the problem is that since the new Xcode, the Developer folder no longer exists. I managed to find the new command so it now works for me: instead of

    sudo /usr/bin/sed -i .bak ‘s/XCiPhoneOSCodeSignContext/XCCodeSignContext/’ /Developer/Platforms/iPhoneOS.platform/Info.plist
    

    it should now be:

    sudo /usr/bin/sed -i .bak ‘s/XCiPhoneOSCodeSignContext/XCCodeSignContext/’ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Info.plist
    

    I hope I didn't misspelled anything as i'm writing it from windows and can't verify. just use TAB for the auto completion of the command

    After you do this, you need to go into your project, to the build settings and change all the code sign fields (5, i think) to the name of your newly created certificate.

    Hope this helps now. If it doesn't let me know.