Fake signing

Discussion in 'iOS Development' started by Imadj, Jun 20, 2009.

  1. Imadj

    Imadj New Member

    Joined:
    Jun 23, 2008
    Messages:
    300
    Likes Received:
    0
    Heyho,

    i cant fakesign my app... Maybe someone is able to do it?
  2. Cyanidepoison

    Cyanidepoison Active Member

    Joined:
    Jan 18, 2008
    Messages:
    1,076
    Likes Received:
    2
    Just use ldid on your iPhone to sign it.
  3. Imadj

    Imadj New Member

    Joined:
    Jun 23, 2008
    Messages:
    300
    Likes Received:
    0
    i cant do this with the terminal on my mac, or must i use mobileterminal?
  4. Chicken

    Chicken Retired Moderator

    Joined:
    Feb 17, 2008
    Messages:
    2,494
    Likes Received:
    7
    Device:
    iPhone 5S
    download ldid from cydia, and then connect via SSh on your mac, open up a terminal window then type ldid -S /path/to/your/app
  5. gojohnnyboi

    gojohnnyboi Well-Known Member

    Joined:
    Jan 25, 2008
    Messages:
    3,339
    Likes Received:
    55
    On whatever device you have the toolchain built on, be it your iPhone or your Mac, download the source for, and build LDID(Link Identity Editor), and then use it with the '-S' option to sign your app binary.

    Make sure you export the 'CODESIGN_ALLOCATE' variable in your shell first to where arm-apple-darwin9-codesign_allocate is.

    You can also use the default codesign_allocate from the SDK with ldid, just in terminal, type:

    Code:
    export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
  6. Imadj

    Imadj New Member

    Joined:
    Jun 23, 2008
    Messages:
    300
    Likes Received:
    0
    ok thats my terminal:

    iPod-von-Moritz-Haendel:~ root# ldid -S /Applications/WebBrowserTutorial.app/WebBrowserTutorial
    util/ldid.cpp(567): _assert(0:arch != NULL)
    iPod-von-Moritz-Haendel:~ root# killall SpringBoard


    But it doesent work
  7. crizh4x

    crizh4x Active Member

    Joined:
    Sep 19, 2007
    Messages:
    4,474
    Likes Received:
    17
    Device:
    2G iPod touch
    You have to ldid the binary, not the source.
  8. Imadj

    Imadj New Member

    Joined:
    Jun 23, 2008
    Messages:
    300
    Likes Received:
    0
    ldid -S /Applications/WebBrowserTutorial.app/WebBrowserTutorial < thats the binary ^^
  9. gojohnnyboi

    gojohnnyboi Well-Known Member

    Joined:
    Jan 25, 2008
    Messages:
    3,339
    Likes Received:
    55
    You either built that binary for the simulator, or you didn't export your codesign_allocate variable. read my post
  10. Imadj

    Imadj New Member

    Joined:
    Jun 23, 2008
    Messages:
    300
    Likes Received:
    0
    yeah, ive executed your comman, but it doesent work... may youre able to take a look? May youre able to fakesign my app?

Share This Page