Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

joshysquashy

macrumors 6502a
Original poster
May 13, 2005
707
1
UK
I am just starting with iPhone programming. I am resonably experienced in website design, and thought to myself... how hard can it be! :p

Well after trying out a few samples from the ADC I realise there is a long road ahead of me, but I am determined, and have some great ideas.

I am not sure if I can justify spending $100 in order to test the app's on my iPhone as I create them, given that I am not sure if I will even release one at this point. Is there any other way of testing an app on my iPhone?

Would someone be generous enough to enable my device for testing, is that even possible?

Many thanks
 

HARDWARRIOR

macrumors member
Nov 17, 2008
52
0
Jailbrake it. Install MobileInstallation patch. Install project templates for XCode by javacom on your mac.
Now you can test apps without certificate. Even already created - you'll need to modify project settings and plist file a bit.
 

joshysquashy

macrumors 6502a
Original poster
May 13, 2005
707
1
UK
Jailbrake it. Install MobileInstallation patch. Install project templates for XCode by javacom on your mac.
Now you can test apps without certificate. Even already created - you'll need to modify project settings and plist file a bit.

This is great news! My iPhone is jailbroken and I have installed the MobileInstallation patch. What settings will I need to change? If I try building for device, it says "CodeSign error: Code Signing Identity 'iPhone Developer' does not match any code-signing certificate in your keychain. Once added to the keychain, touch a file or clean the project to continue."

Thanks so much for the solution, is there a link with a step by step guide?
 

joshysquashy

macrumors 6502a
Original poster
May 13, 2005
707
1
UK
It's all desribed here. Topic is pretty long, but its worth it.

Thanks, I have managed to put my app on my iPhone!

I created a self-signed certificate called iPhone Developer and then trusted it. I disabled provisioning and I built from Xcode. Then I copied the .app to the iPhone via SSH (and I had installed the MobileInstallation patch).

It works fine! I can't debug, but I can test. Thanks so much!
 

joshysquashy

macrumors 6502a
Original poster
May 13, 2005
707
1
UK
Install Xcode templates and you'll be able to debug, build&go. Just like with certificate.

I'm just worried about when I eventually want to submit my app, how do I make the project completely standard again?

Also, when Apple releases 3.0, will these templates need to be updated? I think I would rather avoid potential headaches and make my app as standard at poss, all I need to change is a couple of plist entries and the certificate and I'm good to go!
 

HARDWARRIOR

macrumors member
Nov 17, 2008
52
0
1) With those tepmlate you still be able to create "standart" apps. They just adding functionality
2) All the difference is in plist and one of project files. You can easily change them. I made an app for appstore that was developed with those templates. It was no problem to make app "standart" before release
3) Install those templates create an empty pwned project and emty "standart" project. Make a diff.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.