步骤1 :
unzip YourApp.ipa
步骤2:
rm -rf Payload/YourApp.app/_CodeSignature
步骤3:
cp InHouse.mobileprovision Payload/YourApp.app/embedded.mobileprovision
步骤4:
/usr/bin/codesign -f -s "iPhone Distribution: YourCompanyName" Payload/YourApp.app/ResourceRules.plist Payload/YourApp.app
步骤5:
zip -r YourApp_inhouse.ipa Payload
unzip YourApp.ipa
步骤2:
rm -rf Payload/YourApp.app/_CodeSignature
步骤3:
cp InHouse.mobileprovision Payload/YourApp.app/embedded.mobileprovision
步骤4:
/usr/bin/codesign -f -s "iPhone Distribution: YourCompanyName" Payload/YourApp.app/ResourceRules.plist Payload/YourApp.app
步骤5:
zip -r YourApp_inhouse.ipa Payload