Correct Format for ldid?

Discussion in 'iPod touch Firmware 2.X Jailbreak' started by Masna, Aug 10, 2008.

  1. Masna

    Masna New Member

    Joined:
    Dec 28, 2007
    Messages:
    20
    Likes Received:
    0
    I thought it was like this...

    Say your app was named "MyApp"

    ldid -S ~/Applications/MyApp.app



    That didn't work so I've tried everything I could think of but can't get it to work. Any one know the correct format for using ldid?
  2. Gitykins

    Gitykins Banned

    Joined:
    May 16, 2008
    Messages:
    3,760
    Likes Received:
    1
    No ~ before /Applications

    ldid -S /Applications/MyApp.app
  3. Masna

    Masna New Member

    Joined:
    Dec 28, 2007
    Messages:
    20
    Likes Received:
    0
    I tried exactly that, no luck

    Please Register or Log in to view images

    Any other ideas?


    here's the response I get

    Code:
    ./minimal/mapping.h(54): _assert(21:false)
  4. Gitykins

    Gitykins Banned

    Joined:
    May 16, 2008
    Messages:
    3,760
    Likes Received:
    1
    Are you trying to do /private/var/mobile/Applications or /Applications?
  5. jfb392

    jfb392 New Member

    Joined:
    Oct 20, 2007
    Messages:
    2,512
    Likes Received:
    21
    Device:
    iPod touch
    You sign the executable, not the folder.
    Code:
    ldid -S /Applications/MyApp.app/MyApp
    
  6. Masna

    Masna New Member

    Joined:
    Dec 28, 2007
    Messages:
    20
    Likes Received:
    0
    I see what you're saying..

    I tried this:

    Code:
    ldid -S /private/var/mobile/Applications/LightCommands.app/LightCommands
    Still no luck :/
  7. jfb392

    jfb392 New Member

    Joined:
    Oct 20, 2007
    Messages:
    2,512
    Likes Received:
    21
    Device:
    iPod touch
    ldid will follow symbolic links correctly, so there's no reason to do that.
    Try what I've posted, or, try changing to your application directory first, then execute ldid with the -S argument and your executable's name as the other argument.
  8. Tyr0

    Tyr0 New Member

    Joined:
    Dec 17, 2007
    Messages:
    533
    Likes Received:
    6
    Device:
    iPhone 3GS (White)
    try
    Code:
    /usr/bin/ldid -S /Applications/LightCommands.app/LightCommands
    if that doesnt work, it must be something wrong with your mapping header, im guessing at line 54.
  9. Masna

    Masna New Member

    Joined:
    Dec 28, 2007
    Messages:
    20
    Likes Received:
    0
    Alright, I tried the following...

    Code:
    ldid -S /Applications/TheTestApp.app/TheTestApp
    Still no luck.

    Edit: I tried doing this from Terminal on my Mac and I got no error (assuming it worked). But now when I try to launch the app, it goes to black screen and then quits and goes back to Home screen.
  10. Spreche

    Spreche Member

    Joined:
    Dec 27, 2007
    Messages:
    164
    Likes Received:
    0
    Device:
    iPhone
    Are the permissons set to 755? And yeah if you try to do the ldid -S command in mobileterminal it will most likely not work. If you do it through your computer it has a better chance

Share This Page