Fail: running official iPhone SDK apps on jailbroken 1.3 iPhone
I’m playing around with the iPhone SDK, and according to the instructions here, you can’t run apps you develop on an iPhone unless you have a developer certificate. I gave it a try anyways, and while XCode recognizes the device, it won’t actually deploy to it.
Since my phone is jailbroken, I attempted to build, copy, and run the HelloWorldClassic sample app on my phone. I did this by ssh’ing into the phone and placing the built app in /Applications then turning off and on the phone. The interesting thing is that the app starts and loads the background, and widgets. It does not set the text in the widgets though before it quits. I have no idea why this is. I wonder if anyone has tried this with a jailbroken 1.4 iPhone (mine is running 1.3). I guess I’ll give 1.4 a try tomorrow.
Posted: March 8th, 2008 under iphone, jailbreak, out of doughnuts ramblings, sdk.
Comments: 8
Comments
Comment from Hendrik42
Time: March 8, 2008, 6:20 pm
Just restore to 1.1.4 and use Ziphone to break it. Worked straight away for me.
But I would assume that 2.0 is actually required on the iphone?
What does the emulator say it runs? 1.1.4? 2.0?
Regards, Hendrik
Comment from edward
Time: March 8, 2008, 9:57 pm
Yeah, 2.0/1.2 is what is required to run any of the new software… I was just curious how different a “hello world” executable would be and how far it would run.
Unfortunately, it’s a real bummer not being able to test your apps on a real phone. OpenGL also isn’t supported in the emulator : (
Comment from ralph
Time: March 9, 2008, 1:10 pm
Hi,
I tried on 1.1.4, but it didn’t work either. When started, the app only showed it’s icon enlarged an wuit again. Is 2.0/1.2 really required? I think there will be some functionality that is not yet supported, but the used API behind HelloWorld is very basic, isn’t it? Could it be, that there is some kind of encryption or signature in the app?
Bye, Ralph
Comment from Phil
Time: March 10, 2008, 1:05 pm
Yeah, I like the fact that Apple could say that they released the SDK, but you can’t really use any applications developed with it until the 2.0 firmware is released in June
craptastic.
Comment from ssjrd
Time: March 29, 2008, 1:13 pm
You can upload apps via SSH and they will work, but first you have to go into your application’s folder and set the permissions for the executable file to 777, for example.
I can run my apps this way, but I can’t seem to get OpenGL apps to run. I’m using Winchain.
Comment from Simon
Time: July 21, 2008, 7:40 am
Is there any chance this will work with the final version of the SDK? I have made a amsll app using the accelerometer that I’d like to try on an actual iPhone since it’s impossible to test in the simulator. I tried compiling my app for device/arm and transferring it to a jailbroken iPhone running 2.0, but it crashed when I try top run it on the iPhone. One thing that’s a little odd is that the images in the app package is unreadable in Finder and Preview. Also tried replacing them with original images before transferring to iPhone, without any luck though. Anyone know if it is still possible to transfer SDK-apps to iPhone by hand?
Comment from edward
Time: July 21, 2008, 10:52 am
Hey Simon,
Did you try compiling your app with the Open Toolchain? That should work… and then you should be able to run it on your jailbroken phone.
-edward
Comment from Simon
Time: July 22, 2008, 3:09 am
No I didn’t, but that seems to be exactly what I need. Thanks for the tip!

Write a comment