?????????IOS???????????????????С??????
????????build?????TestFlight???????????????????????????????????????????????????????IOS?????????????
????????????????????????????
????1. ?????TestFlight???build
????2. ???build???ifanbox??build?????????ipa???
????3. ?????????ipa??????????????????????
???????????
??????????????????????SeeTest????ipa????????????????? provision???????????????????????
????????????
?????????????????ο?????
unzip app.ipa
rm -rf Payload/MyApp.app/_CodeSignature/
cp ~/Downloads/AdHoc.mobileprovision Payload/MyApp.app/embedded.mobileprovision
codesign -f -s "iPhone Distribution: Company Certificate" --resource-rules Payload/MyApp.app/ResourceRules.plist Payload/MyApp.app
zip -qr app-resigned.ipa Payload/
????????"iPhone Distribution: Company Certificate"????????common name?? ????????????
????????????
????????????????????iresign????????????????????ù???????????mac????
????????????÷????????????????????????iresign????????????????????ipa??????????provision??????????????common name?????????entitlements.plist?????????????????????????????????????????????????????
????????????????????entitlements.plist???
/usr/libexec/PlistBuddy -x -c "print :Entitlements " /dev/stdin <<< $(security cms -D -i production.app/embedded.mobileprovision) > entitlements.plist
/usr/libexec/PlistBuddy -c 'Set :get-task-allow true' entitlements.plist
?????????????????iresign??????????????????xcode instrument??ipa?????