IOS APP 重新打包命令

时间:2024-03-17 18:43:42
步骤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