从appstore下载的ipa进行重签名,能成功安装,但一启动就奔溃
<Debug>: AppleFairplayTextCrypterSession::fairplayOpen() failed, error -42112
原因:appstore 会将上传的ipa进行重签名,并进行加密。
App Store binaries are signed by both their developer and Apple. This encrypts the binary so that decryption keys are needed in order to make the binary readable. When iOS executes the binary, the decryption keys are used to decrypt the binary into a readable state where it is then loaded into memory and executed. iOS can tell the encryption status of a binary via the cryptid struture member of LC_ENCRYPTION_INFO MachO load command. If cryptid is a non-zero value then the binary in encrypted.
http://iphonedevwiki.net/index.php/Crack_prevention#App_Store