iOS使用开发者个人资料从appstore辞职IPA [英] iOS resign IPA from appstore with developer profile

查看:230
本文介绍了iOS使用开发者个人资料从appstore辞职IPA的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用自己的证书从appstore下载的iOS应用程序辞职怎么做我被困在那里。我正在使用OS X Yosemite这就是我做的事情

I am trying to resign iOS app which I downloaded from appstore with my own certificate how to do it I am stuck in that . I am using OS X Yosemite This is what I did

#  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

但它终止而没有辞职显示此

but it terminates without resigning showing this

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


推荐答案

作为您提供的信息, - resource-rules已被弃用;
so,

as information you provided,"--resource-rules" has been deprecated; so,


  1. 检查系统版本;

  2. 删除--resource-rules参数

我可以这样辞职ipa;但它不能正常运行,它闪回。
到现在为止我根本不知道;

i can resign the ipa this way; but it can't run normally, it flashback. till now i have no idea about it;

这篇关于iOS使用开发者个人资料从appstore辞职IPA的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆