DISQUS

CuppaDev: Running your own iPhone applications without paying the developer fee

  • Andrew · 1 year ago
    Hi I found this .. wouldn´t this mean that you dont need to manualy copy the app to the phone ?

    A quick way to sign your apps:

    1) create a code signing certificate, e.g. iPhone
    2) in your XCode project, under targets: add new build phase -> new run script build phase

    for shell you can leave /bin/sh
    for script, enter:

    CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate codesign -s iPhone -f ${TARGET_BUILD_DIR}/${EXECUTABLE_FOLDER_PATH}/${EXECUTABLE_NAME}

    That's it! The only thing to replace in the script is the certificate name (e.g. iPhone)
  • James Urquhart · 1 year ago
    Andrew,

    Now i tried that, but just couldn't get it to work properly. Even though i sign my app, XCode still complains that it can't verify the app. So i have no idea what is going on there. Seems like the only way i can get it working is copying it over manually and running sans the debugger. :(

    Btw, thanks for the correct run script. Was having trouble getting that correct. :)
  • Andrew · 1 year ago
    Here is a how-to for Making Build & Go work + debuggning

    http://www.246tnt.com/iPhone/#xcode

    personaly i´m not to fancy with patching the mobileinstallation och spring bord .. but it works ..
  • James Urquhart · 1 year ago
    Thanks Andrew, just updated the post to reflect this. Patching is annoying, yes. But well worth it, IMO.
  • flo · 10 months ago
    hey ... I really don't want to patch springboard, especially w/o knowing if this also works with more recent firmware versions ... I'm currently running 2.2, but the guide mentioned at http://www.246tnt.com/iPhone/#xcode says it was only tested on 2.0 and a lot has changed since then ... so did anyone test it on 2.2?
  • James Urquhart · 10 months ago
    Not tried with 2.2, considering i coughed up and paid $99 for a real development sdk.

    Still, i don't see the harm in patching. If it doesn't work you can just restore...
  • Traveller_Adventure · 4 months ago
    What I can say is very nice and helpful as well as informative post...really help me very much more!! Thanks..
    Cheers,
    Buat Duit Dengan Blog