can Jailbroken iphone used for development - iphone

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 .

Related

Certificate for iOS apps

I am a novice in iOS programming and I have some novice questions.
I am using Xcode 4.2. My app runs well on iPhone 5.0 Simulator but I cannot actually get the IPA file from it. When I use my real iPod Touch, it produces "CodeSign error".
I know that to get IPA file and to avoid "CodeSign error", I need to join iOS Developer program and pay $99 so that I can obtain the certificate for my apps.
So my questions are:
Is this only one way to develop iOS apps?
Are there any workarounds to this issue?
I want to develop my apps and then give them free, do I still have to pay to get the certificate?
Many thanks.
Yes, if you want your apps to be usable on a regular iPhone. You can develop them regardless, you just can't install them on an iPhone.
Yes, you can use a jailbroken iPhone which requires no code signing - at your own risk (not supported nor recommended).
Yes, you need to join the Developer program in order to be able to put your app on the App store - whether free or not is entirely up to you, Apple doesn't care.

Can I develop mac/iphone/ipad applications without having to paying first?

I'm interested to know if I can have access to all the libraries, ide, etc for the iphone/ipad/macos without paying the 90 bucks(for learning purpose).
Do I have to pay to have access to everything in order to start developing? I'm not talking about the istore by the way. I know that there is a fee for that.
Thanks.
You can download the SDK and simulator for free. If you want to install it on a iPhone, iPod Touch or iPad for testing, or submit to the store, you have to pay the $99.
http://developer.apple.com/programs/ios/develop.html#compare
The simulator is useful for some testing, but it has many limitations. If you're developing applications that use the camera or other hardware devices, certain types of multi-touch, etc you're going to want to try it on a real device sooner rather than later.
Developing for the Mac is, on the other hand, completely free.
You can start developing iPhone/iPad apps for free but you must pay in order to test your applications on real devices. Without paying you can just test your applications in the simulator.
You can use the iPhone Simulator for free, but to install on your device you'll need to join the developer program in order to create the certificates needed to install apps on a real device, even if it's just yours. This assumes that you don't have a jailbroken device.

How can I test my iPad app on my actual iPad?

I am developing my first iPad app using the iOS SDK 4 and Xcode 3.2. I have written a simple Hello World and have been able to run it in the iPhone simulator. I would like to figure out:
How can I get an iPad simulator?
Is it possible to test my app on my actual iPad without signing up for a developers license for $99?
Thanks,
Mike
There are unoffical ways to get your app onto your device, you have to jailbreak it and install software called AppSync from cydia. This voids your warranty if Apple find out (restoring the device to it's original settings using the restore button in itunes means they can't tell, so jus trestore before you go to an Apple shop) and if they do find out it might prejudice them against you as a developer (but chances are very slim)
(I have no problem giving specific details as the US Government has said that jailbreaking is legal)
http://www.pcworld.com/article/201892/us_government_iphone_jailbreaking_is_fair_use.html
The SDK includes an iPad simulator. I don't have my Mac in front of me, but you should be able to choose which device to target when you launch the simulator. You can also switch between iPhone and iPad mode from within the simulator - check the Hardware menu.
Yes, you have to have a paid developer membership to deploy code to your device. That's the only official way.
If you have jailbroken, then install app sync from the Hackulo.us repo. Just sync your app in iTunes without signing it. It will work easy as Pi!
This is yet another way to keep flash from getting to iPads, if you could put your own on the device without going through apple then you could also put someone else's. I think it should be allowed, but if something doesn't work on software that isn't officially released it shouldn't be supported by Apple.

iPhone and iPod Emulator

I intend to write some piece of code for an iPod and an iPhone. so, i'm looking for emulators for those devices.
basically an emulator which will help me test the application I'm writing.
Thanks.
To develop iPhone apps you need to download the iPhone SDK. This includes the tools and libraries to code you applications as well as a simulator to test your code. This tools are available only for intel macs.
You can get the sdk for free here: http://developer.apple.com/iphone/
To test you code in a real iPhone, you will need to join the iPhone Developer Program (http://developer.apple.com/iphone/program/), which is not for free.
Are you talking about writing an application or writing code for your website to display properly on an iPhone?
The former requires a developer subscription with Apple to access their SDK and emulator.
For the latter, there seem to be several emulators out there to test your web site, check out:
http://iphonetester.com/
http://www.testiphone.com/
A Google search for 'iPhone emulator' should find a lot for you.
The iPhone SDK comes with an iPhone simulator that you can use with Xcode during development.
You can download the SDK from http://developer.apple.com/iphone - you need to be a registered iPhone developer, however, although this is free, after which you can use the simulator.
Note that if you want to send your applications to a physical device you need to enrol in the iPhone developer program which starts at $99.
You probably want to actually get an iPhone for that. You'll have to register the $99 but then you'll get the ability to upload apps to your iPhone/pod.
You could also jailbreak your phone/pod and do whatever you want.
There are also apps available that let you transfer stuff to and from your phone in the appstore (at least one free, if I recall correctly)
If you want to do something more with the files than just transfer them to the phone/pod, it's likely that you'll have to jailbreak your phone/pod anyway.
I keep wanting to find a better abbreviation for typing iPod/iPhone. How about iP(od/hone)? Hmm, not better!

iPhone Development and Testing on Jalibroken iPhone?

Other than the obvious ongoing legal issues surrounding jalibreaking the iPhone, does using an jailbroken phone for "official legal SDK development" cause any issues?
Bascially can a jailbroken iPhone work fine for a production development environment, allowing the same provisioning, testing, etc as a stock iPhone in terms of the SDK and related processes?
As far as i know. there is no problem to use a jailbroken iPhone as your development iPhone.
I test all my applications on a jailbroken and a non-jailbroken phone and didn't found any differences yet.
If you have jailbroken your device and broken authenticity (to run unsigned code) it is possible you have a code signing issue that would not be aware to you unless you check the app on a non-broken device. However if you are caught up in the acceptance process a jailbroken device can be useful because you get to test on device earlier :P
That said this is very unlikely seeing as the amount of trouble you have to go through to get to that point almost guarantees you have some clue as to what you are doing.
The Apple Developer agreement has been updated to forbid developers from jailbreaking (but you did say aside from legal issues)...
To answer your question directly, no I have not had any problems :-)