iOS resign IPA from appstore with developer profile

匿名 (未验证) 提交于 2019-12-03 07:50:05

问题:

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 

回答1:

Remove the --resource-rules parameter from the arguments list. You can use codesign without that parameter, given that you aren't using another parameter that requires it.



回答2:

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

  1. check version of your system;
  2. remove the --resource-rules parameter

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



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!