content in my comments and updated any time
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 |