Ldid is used for iPhone program signature. You can download and install ldid: $ sudoapt-getinstallldid. If you cannot find it, you can compile and install ldid from the source code. 1. Download ldid from saurik $ wgethttp: // container
Ldid is used for iPhone program signature. You can download and install ldid:
$ Sudo apt-get install ldid
If you cannot find it, you can compile and install it from the source code.
1. Download ldid from saurik
$ Wget http://www.linuxidc.com/system/systemfiles/2011/03/ldid-1.0.610.tgz
2. Extract
$ Tar-zxf ldid-1.0.610.tgz
3. Compile
$ Ldid-1.0.610 cd
$ G ++-I.-o util/ldid {,. cpp}-x c util/{lookup2, sha1}. c
4. Put it in the system bin directory.
$ Sudo cp-a util/ldid/usr/bin
5. Execute
$ Ldid-S FILE
6. handle errors
If you run ldid-S yourlib directly, the following error may occur:
Util/ldid. cpp (576): _ assert (2: false)
Util/ldid. cpp (581): _ assert (0: WIFEXITED (status ))
Trace/breakpoint trap
You need to set the CODESIGN_ALLOCATE environment variable:
Export CODESIGN_ALLOCATE = $ (your_toolchain)/toolchain/pre/bin/arm-apple-darwin9-codesign_allocate
Ldid-S your. dylib