Skip to content

Instantly share code, notes, and snippets.

View ShiYuanjun-Tim's full-sized avatar

史元君 ShiYuanjun-Tim

View GitHub Profile
@lodalo
lodalo / re-sign iOS IPA
Last active December 6, 2023 05:06
Steps to re-sign an IPA file with a new provisioning profile
#Unzip the IPA
unzip Application.ipa
#Remove old CodeSignature
rm -R "Payload/Application.app/_CodeSignature"
#Replace embedded mobile provisioning profile
cp "path-to-provisioning-profile/MyEnterprise.mobileprovision" "Payload/Application.app/embedded.mobileprovision"
#If you are resigning to submit to the AppStore you need to extract the entitlements to use later