How do I build apps to my jailbroken iPad?
I have XCode 3.2.2 and am trying to build an app to my jailbroken iPad. I have followed the tutorial to Fake Code Sign Apps here on Multi-Touch forums. On the iPad, I installed AppSync. Still, when I tried to build my app, I got
Error Starting Executable
No provisioned iPhone OS device is connected.
I think next, I'll try Cydia's tutorial....which probably woulda made sens开发者_StackOverflow中文版e to do first anyway. I'll post progress here. But in the meanwhile, any suggestions are welcome.
Thanks!
ThomasOK so clearly, I'm just an idiot. I'm using XCode 3.2.2, which only supports iPad 3.2. My iPad has 3.2.1 installed. Updating my XCode will probably fix this (non) issue lol.
There are three ways to do this:
- Self-Signing (from Xcode)
- Pseudo-Signing (from device)
- Disable Signing
All are detailed and explained here on Saurik's site.
I went with self-signing. Here's the process for those interested.
Self-Signing
- Edit Info.plist file
- Located at
/Developer/Platforms/iPhoneOS.platform/
. - Find three occurrences of "XCiPhoneOSCodeSignContext" and replace with "XCCodeSignContext"
- Located at
- Create certificate.
- Open Keychain Access >> Click Keychain Access >> Certificate Assistant >> Create a Certificate
- give it any name
- Self-signed Root
- Change type to "Code Signing"
- Check "Override defaults"
- Click "Continue" until done
- Build the app in Xcode.
- Edit Project Settings >> Set "Code Signing Identity" to the name of the certificate you just created.
- Select the device you want to build to from the dropdown menu (not simulator)
- Cmd + B to build
- Copy to Device
- Get the .app file from the build directory (
/build/Debug-iphoneos/AppName.app
) - SSH the file over to
/Applications
directory on the device - Respring/ reboot
- Get the .app file from the build directory (
In xcode's menu bar, go to windows->organizer. I don't remember exactly what it looks like, but once you plug in an ios device (aka the iPad) it should appear under devices on the left hand side. Click on it, and it will take you to a screen with 2 or so buttons on it, one of which will be 'use for development', or something like that. Clicking this will provision the iPad for development, and everything should work fine after that. Repeat for all other ipads/phones/touches.
精彩评论