Fastlane:签名无效 - 重新签名 .ipa 文件后出现无效 Info.plist 错误
Fastlane: Invalid Signature - Invalid Info.plist error after resigning .ipa file
我必须退出最初使用企业配置文件签名的 .ipa 文件。
由于安全原因,我无法访问该项目的存储库。另外,我必须修改内部版本号
.plist 文件。
首先,我使用 fastlane 使用我的分发证书和应用商店配置文件重新注册 .ipa 文件:
fastlane sigh resign /Users/myUserName/Desktop/FolderContainsMyIPA/MyIPAName.ipa --signing_identity "iPhone Distribution: MyDistributionCertName" -p /Users/myUserName/Desktop/FolderContainsMyIPA/myAppStoreProfile.mobileprovision
终端输出说辞职成功。
然后我压缩和解压缩文件夹以修改二进制有效负载中的 info.plist 文件。将 .ipa 压缩并上传到 iTunes Connect 后,我总是收到以下错误:
Dear developer,
We have discovered one or more issues with your recent delivery for
„My App Name". To process your delivery, the following issues must be
corrected:
Invalid Signature - Invalid Info.plist (plist or signature have been
modified). The file at path [Template.app/Template] is not properly
signed. Make sure you have signed your application with a distribution
certificate, not an ad hoc certificate or a development certificate.
Verify that the code signing settings in Xcode are correct at the
target level (which override any values at the project level).
Additionally, make sure the bundle you are uploading was built using a
Release target in Xcode, not a Simulator target. If you are certain
your code signing settings are correct, choose "Clean All" in Xcode,
delete the "build" directory in the Finder, and rebuild your release
target. For more information, please consult
https://developer.apple.com/library/ios/documentation/Security/Conceptual/CodeSigningGuide/Introduction/Introduction.html
Once these issues have been corrected, you can then redeliver the
corrected binary.
Regards,
The App Store team
无法弄清楚我的方法有什么问题
在退出您的 .ipa 文件之前,只需尝试修改 info.plist。应该可以。
我必须退出最初使用企业配置文件签名的 .ipa 文件。 由于安全原因,我无法访问该项目的存储库。另外,我必须修改内部版本号 .plist 文件。
首先,我使用 fastlane 使用我的分发证书和应用商店配置文件重新注册 .ipa 文件:
fastlane sigh resign /Users/myUserName/Desktop/FolderContainsMyIPA/MyIPAName.ipa --signing_identity "iPhone Distribution: MyDistributionCertName" -p /Users/myUserName/Desktop/FolderContainsMyIPA/myAppStoreProfile.mobileprovision
终端输出说辞职成功。
然后我压缩和解压缩文件夹以修改二进制有效负载中的 info.plist 文件。将 .ipa 压缩并上传到 iTunes Connect 后,我总是收到以下错误:
Dear developer,
We have discovered one or more issues with your recent delivery for „My App Name". To process your delivery, the following issues must be corrected:
Invalid Signature - Invalid Info.plist (plist or signature have been modified). The file at path [Template.app/Template] is not properly signed. Make sure you have signed your application with a distribution certificate, not an ad hoc certificate or a development certificate. Verify that the code signing settings in Xcode are correct at the target level (which override any values at the project level). Additionally, make sure the bundle you are uploading was built using a Release target in Xcode, not a Simulator target. If you are certain your code signing settings are correct, choose "Clean All" in Xcode, delete the "build" directory in the Finder, and rebuild your release target. For more information, please consult https://developer.apple.com/library/ios/documentation/Security/Conceptual/CodeSigningGuide/Introduction/Introduction.html
Once these issues have been corrected, you can then redeliver the corrected binary.
Regards,
The App Store team
无法弄清楚我的方法有什么问题
在退出您的 .ipa 文件之前,只需尝试修改 info.plist。应该可以。