iOS-如何辞职IPA文件



我尝试辞职.IPA文件,但我有一些问题。我存档了该项目并将其导出以进行临时部署,然后遵循本教程:https://sholtz9421.wordpress.com/2012/06/06/08/digitally-resigning-ipa/。在安装期间,我有一个错误:"应用程序缺少应用程序识别符。"因此,我创建了一个" Antitlement.plist"文件,并试图辞职-Entitlements

codesign -f -v -s "MyIdentity" Payload/SampleApp.app --entitlements entitlements.plist

现在,当我尝试安装.IPA文件时,我有一个错误:"无法验证代码签名..(可执行文件是用无效的权利签名(。"

我的with.plist文件是:

<?xml version="1.0" encoding="UTF-8"?>
   <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
   <plist version="1.0">
   <dict>
    <key>application-identifier</key>
    <string>{team-identifier}.{bundleId}</string>
    <key>aps-environment</key>
    <string>production</string>
    <key>beta-reports-active</key>
    <true/>
    <key>com.apple.developer.associated-domains</key>
    <string>*</string>
    <key>com.apple.developer.team-identifier</key>
    <string>{team-identifier}</string>
    <key>get-task-allow</key>
    <false/>
    <key>keychain-access-groups</key>
    <array>
       <string>{team-identifier}.*</string>
    </array>
    </dict>
    </plist>

对这个问题有什么想法吗?任何帮助都将受到赞赏。

我找到了一个解决方案:我使用iresign辞职.IPA文件。正确的权利文件是:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>application-identifier</key>
<string>{team-identifier}.{bundleId}</string>
<key>aps-environment</key>
<string>production</string>
<key>com.apple.developer.team-identifier</key>
<string>{team-identifier}</string>
<key>get-task-allow</key>
<false/>
<key>keychain-access-groups</key>
<array>
    <string>{team-identifier}.{bundleId}</string>
</array>

最新更新