How to use ldid?

前端 未结 3 794
旧巷少年郎
旧巷少年郎 2020-12-01 15:01

I am trying to run unsigned application on iOS 5.1/iPhone 4s (jailbroken). What I did:

  1. Disable code signing in XCode.

  2. Built unsigned iPhone

3条回答
  •  天命终不由人
    2020-12-01 15:49

    Starting from what seems Xcode 4.5 onward, maybe as early as 4.4 have not checked, in order to pseudo code sign using the ldid tool, you need to download and install 'Command Line Tools' from here or you can download it from within Xcode, Preferences->Downloads

    Otherwise you will get errors like

    • util/ldid.cpp(584):
    • ./minimal/mapping.h(54): _assert(2:false)
    • util/ldid.cpp(567)
    • and so on

    You still need to make sure it is not a "fat" binary and only armv7 as armv6 is no longer supported.

    ldid -S ExampleApp

提交回复
热议问题