I tried to resign my ipa file with new provisioning profile on Mac Os 10.10 with iResign app but I got this warning: \"Warning: --resource-rules has been deprecated in Mac O
If you are resigning app using terminal then you can even omit resource-rules
while performing code sign, as there is no need to externally specify which resource to sign and which to not. Now it is mandatory to sign all the resources inside package.
To resign app using terminal you can follow below steps:
unzip MyApp.ipa
rm -rf Payload/MyApp.app/_CodeSignature/
cp ~/Desktop/MyAdHoc.mobileprovision Payload/MyApp.app/embedded.mobileprovision
codesign -f -s "iPhone Distribution: Code signing Certificate for Enterprise or Ad-hoc app" Payload/MyApp.app
zip -qr MyApp_Resigned.ipa Payload/