We have paid developer account for iphone development and we have 2 iphones one jail broken and other one non jail broken. We have registered both phones for development and got provisioning profile. We can use non jailbroken phone for development. But we try to use jail broken phone for development we get message Error starting executable no Provisioned iphone device is connected.
But We can test application on it using ad hoc profile. Does this means jailbroken devices can not be used for development? Regards, Manish
I personally do development/testing on jailbroken devices (I find that it is nice for profiling/debugging with all the UNIX tools available, as well as testing out code for checking for tampered plist files ;-) ) as well as non jailbroken devices.
I have not had any problems specifically with jailbroken devices, as they behave exactly like stock standard firmwares..
Have you:
- Added the UDID to the provisioning profile
- Tried removing and adding the provisioning profile in XCode organizer
- Rebooting the phone then trying to build an app targeting the device
I personally am paying the $99 per year and use my iPod Touch 2G (jailbroken) for development purposes. I have seen no disadvantages to using jailbroken devices for development. I have actually seen some advantages to using jailbroken devices.
I have no any problems with development for jailbroken iPhone. Moreover I like to use several advantages... for example full-featured UNIX console environment into device. In additional using jailbroken iPhone may help developer better understand how iPhone/OS/Environment works at low level.
You may add new Target to your project and use it if you connect jailbroken device.
You just need to add two keys for new target in User-Defined Settings (Target->Get Info->"Build" Tab->Show "User-Defined Settings")
PROVISIONING_PROFILE_ALLOWED NO
PROVISIONING_PROFILE_REQUIRED NO
So you will have two very similar targets... one for jailbroken and second for povisioned iPhone.
Be warned - the iPhone Developer agreement now bans you from jailbreaking your phones: http://news.softpedia.com/news/iPhone-Developer-Agreement-Bans-iPhone-OS-Jailbreak-108599.shtml
I'm not sure what you should do if, say, you want your application to disable itself on jailbroken phones - how would you test it?
Jailbroken devices won't work with push notification. I lost almost one day with one such device. So better stay away from jail broken device for development .
来源:https://stackoverflow.com/questions/995262/can-jailbroken-iphone-used-for-development