gpt4 book ai didi

iOS 从具有开发者资料的应用商店中退出 IPA

转载 作者:塔克拉玛干 更新时间:2023-11-02 08:36:58 25 4
gpt4 key购买 nike

我正在尝试使用我自己的证书退出从 Appstore 下载的 iOS 应用程序,我被困在其中。我正在使用 OS X Yosemite 这就是我所做的

#  ResignApp.sh
#
#
# Created by Naveen P on 3/11/15.
#
IPA="/RnD/Dropbox\ 3.7.ipa "
PROVISION="/RnD/iOSTeam_Provisioning_Profile_.mobileprovision"
CERTIFICATE="iPhone Developer: ABCD " # must be in keychain
# unzip the ipa
unzip -q "$IPA"
# remove the signature
rm -rf Payload/*.app/_CodeSignature Payload/*.app/CodeResources
# replace the provision
cp "$PROVISION" Payload/*.app/embedded.mobileprovision
# sign with the new certificate (--resource-rules has been deprecated OS X Yosemite (10.10), it can safely be removed)
/usr/bin/codesign -f -s "$CERTIFICATE" --resource-rules Payload/*.app/ResourceRules.plist Payload/*.app
# zip it back up
zip -qr resigned.ipa Payload

但它在没有辞职的情况下终止显示

Warning: --resource-rules has been deprecated in Mac OS X >= 10.10!
Payload/*.app/ResourceRules.plist: cannot read resources

最佳答案

从参数列表中删除 --resource-rules 参数。您可以在没有该参数的情况下使用 codesign,前提是您没有使用另一个需要它的参数。

关于iOS 从具有开发者资料的应用商店中退出 IPA,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28984284/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com