代码之家  ›  专栏  ›  技术社区  ›  mary

IOS-如何退出ipa文件?

  •  2
  • mary  · 技术社区  · 7 年前

    我归档了该项目并将其导出以进行临时部署,然后我遵循了本教程: https://sholtz9421.wordpress.com/2012/06/08/digitally-resigning-ipa/ .

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

    我的权利。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>
    

    知道这个问题吗?感谢您的帮助。

    1 回复  |  直到 7 年前
        1
  •  0
  •   mary    7 年前

    我找到了一个解决方案:我用iResearch辞职。ipa文件。正确的权利。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>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>