I developed an app for iPhone with Xcode 3.2.4 and iOS 4.1. Now I want to test my app on my iPhone, but I don't want to enroll for a developer program. I searched in google and found a lot of tutorials, but they are not working.
Then I asked me if it is because I use iOS 4.1. Is there a way to test the app?
I've a jailbroken iPhone 4 with iOS 4.1.
views:
167answers:
1
+5
A:
First, you need to install SSH to your device to be able to copy files via scp.
Build your application and grab the binary from your build directory. Copy it to the device's /Applications folder using scp
. Change the permissions to 755 recursively using chmod -R 755 ApplicationName.app
, reboot your iPhone.
And I strongly encourage you to enroll in the Developer Program and pay Apple for the work they have done in creating this great SDK.
muffix
2010-10-26 15:04:00
Yes. I did that before but when I want to start the app the crashes and returns to the springboard.I will do that, but before I want to test my application on a real device and not in the simulator.But thank you!!
qPaul
2010-10-26 15:19:02
Maybe it is your application that causes the crash. Did you try compiling and installing an open source application like iProxy?
muffix
2010-10-26 15:24:31
Okay. Thank you! How can I compile an open source application?
qPaul
2010-10-26 15:51:05
Just like you compiled your own application. Open the .xcodeproj file in Xcode and hit Build (Cmd+B).
muffix
2010-10-26 15:53:25
Ok. I created just now a navigation controller based project, compiled it and installed it via CyberDuck on the iphone and that works. Is there a difference between coding an app for simulator and device?
qPaul
2010-10-26 15:56:47
If an app works on the simulator, it should work on the device. You do not develop for the simulator, you just use it to test your app. But no, there is no difference in coding for either "platform"
muffix
2010-10-26 16:03:23
Now I created a navigation controller based project with Core Data and on the device it closes the application. So I think the problem is Core Data which I use in my project, too.
qPaul
2010-10-26 16:06:07
I got it with this tutorial: http://www.alexwhittemore.com/?p=398 ! Thank you muffix
qPaul
2010-10-26 19:38:03