Compile app for iPhone without paying 99$

Discussion in 'iOS Development' started by mewX, Feb 7, 2009.

  1. mewX

    mewX New Member

    Joined:
    Jan 4, 2008
    Messages:
    5
    Likes Received:
    0
    hi!
    I wrote a little app with Xcode which works nice in the Simulator, but now I want to try it on the real device. So i jailbreaked my iPod touch to get access to the file system. Unfortunately, just copying the simulator-built build over won't work. selecting "iphone" as target/sdk in xcode results in an error saying I can't codesign. So, what can I co?

    greets
  2. Teslanaut

    Teslanaut Well-Known Member

    Joined:
    Sep 16, 2007
    Messages:
    15,588
    Likes Received:
    177
    Device:
    4G iPod touch
    Just compile it for the Device. In the folder where the source code is, there should be a new folder you haven't seen before. I think its labeled Release? Or among those lines. In there, is where the App is.
  3. oioioi

    oioioi New Member

    Joined:
    Apr 18, 2008
    Messages:
    102
    Likes Received:
    0
    look at the bottom on this page http://www.246tnt.com/iPhone/, I have tried it my self but couldn't get it to work, maybe you got more luck. This will make "Build an Go" on device work
  4. Steaps

    Steaps New Member

    Joined:
    Oct 24, 2007
    Messages:
    5,074
    Likes Received:
    41
    Device:
    iPod touch
    It gives you a build error, meaning it doesn't build it.
    Follow this guide:
    http://www.ifans.com/forums/showpost.php?p=1101727&postcount=11
  5. mewX

    mewX New Member

    Joined:
    Jan 4, 2008
    Messages:
    5
    Likes Received:
    0
    I've already seen that page but couldn't get it work either.

    Yeah the Release-Folder is there but the app crashes if I start it on the iPod.
  6. Teslanaut

    Teslanaut Well-Known Member

    Joined:
    Sep 16, 2007
    Messages:
    15,588
    Likes Received:
    177
    Device:
    4G iPod touch
    It still builds. It just doesn't get signed.

    You have to either properly set the permissions or sign it with ldid. Learn more here: http://www.saurik.com/id/8
  7. SkylarEC

    SkylarEC Super Moderator Emeritus Staff Member

    Joined:
    Sep 19, 2007
    Messages:
    6,642
    Likes Received:
    129
    In Cydia, on the main screen, there's a link to a whole section about pseudo signing.

    Just use ldid.
  8. mewX

    mewX New Member

    Joined:
    Jan 4, 2008
    Messages:
    5
    Likes Received:
    0
    OK I'll try this. Thanks.
  9. Steaps

    Steaps New Member

    Joined:
    Oct 24, 2007
    Messages:
    5,074
    Likes Received:
    41
    Device:
    iPod touch
    Install ldid.
    Copy application to "/Applications".
    Run "ldid -S /Applications/APPNAME.app/APPNAME"
    99% sure here... It should work.
  10. mewX

    mewX New Member

    Joined:
    Jan 4, 2008
    Messages:
    5
    Likes Received:
    0
    And I still compile it in xcode with sdk: iPhone Simulator? This works?

    ldid gets me..
    ./minimal/mapping.h(54): _assert(2:false)

Share This Page