Testing on iPhone without forking out $100?

Discussion in 'iOS Programming' started by joshysquashy, Mar 19, 2009.

  1. joshysquashy macrumors 6502a

    Joined:
    May 13, 2005
    Location:
    UK
    #1
    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
     
  2. HARDWARRIOR macrumors member

    Joined:
    Nov 17, 2008
    #2
    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.
     
  3. joshysquashy thread starter macrumors 6502a

    Joined:
    May 13, 2005
    Location:
    UK
    #3
    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?
     
  4. HARDWARRIOR macrumors member

    Joined:
    Nov 17, 2008
    #4
    It's all desribed here. Topic is pretty long, but its worth it.
     
  5. joshysquashy thread starter macrumors 6502a

    Joined:
    May 13, 2005
    Location:
    UK
    #5
    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!
     
  6. HARDWARRIOR macrumors member

    Joined:
    Nov 17, 2008
    #6
    Install Xcode templates and you'll be able to debug, build&go. Just like with certificate.
     
  7. joshysquashy thread starter macrumors 6502a

    Joined:
    May 13, 2005
    Location:
    UK
    #7
    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!
     
  8. HARDWARRIOR macrumors member

    Joined:
    Nov 17, 2008
    #8
    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.
     

Share This Page