Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ipatool failed with an exception in xcode 9

Tags:

xcode

ios

ipa

I'm trying to export the ipa file for Ad-hoc Distribution. Here I'm getting the following issue

ipatool failed with an exception enter image description here

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

like image 426
Test iOS Avatar asked Jul 01 '26 23:07

Test iOS


2 Answers

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

like image 133
iOSDevp Avatar answered Jul 03 '26 14:07

iOSDevp


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.

like image 31
PRITAM SATPUTE Avatar answered Jul 03 '26 12:07

PRITAM SATPUTE



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!