can Jailbroken iphone used for development

a 夏天 提交于 2019-11-27 05:19:49

问题


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


回答1:


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



回答2:


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.




回答3:


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.




回答4:


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?




回答5:


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!