I'm trying to export the ipa file for Ad-hoc Distribution. Here I'm getting the following issue
ipatool failed with an exception

I tried many times it getting same error only. Finally, I just clicked fast next before below red error comes. I get the ipa file, but this ipa is not working.
I installed this ipa from Xcode it showing
App installation failed An unknown error has occurred
I checked with my distribution certificate & Provisioning Profile too. I created new Provisioning profile but it not working
For whole day I too struck by this issue I did many solutions but not working..... I did very small mistake one of the solution is
restart the Xcode & try. I tried this by wrongly that is close all projects finally close the Xcode (it works ), but I quit Xcode shortly
Final solution is close Xcode clearly (by closing every projects) and archive it...
I thing it’s helps you
Got same error, uncheck option Rebuild from Bitcode resolves the problem.
Able to generate archive successfully
Make sure you have stripped simulator architecture's( x86_64, i386) while generating archive. You can add script to remove unwanted architecture's in Post Action section under Archive tab in Edit schema.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With