I've successfully resigned my app. However there are still some open questions. These are the steps i did to resign the app:
unzip {AppName}.ipa
rm -rf Payload/{AppName}.app/_CodeSignature/
cp new.mobileprovision Payload/{AppName}.app/embedded.mobileprovision
codesign -f -s "iPhone Distribution: {CertificateName}" --entitlements Entitlements.plist Payload/{AppName}.app/
zip -qr resigned.ipa Payload
I've looked up the {CertificateName}
from the my Keychain under My Certificates . To get the entitlements.plist
i used the following command:
codesign -d --entitlements :entitlements.plist Payload/{AppName}.app/
Now the open questions are:
Can i use this to resign an app and upload it to the app store? Is there anyone who actually did it this way successfully?
I have another folder besides Payload which is called Symbols. I suspect that this was added when the ipa was created for the app store. Do i need to repack it this way then: zip -qr resigned.ipa Payload Symbols
to ensure that the Symbols are also within the app?
Within the Entitlements there is a part keychain-access-groups
. Is this only relevant if i would use the keychain? Can i use the following value for it: {Prefix}.*
or should it be more explicit?
Thank you in advance for any help!
看看这个,在您上传应用程序FastLane时为您完成了大部分工作
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.