ipatool failed with an exception in xcode 9

ipatool failed with an exception bitcode-build-tool
ipatool failed with an exception: #<cmdspec::nonzeroexcitexception
ipa processing failed
thinning architectures for libswiftcore dylib failed
bitcode build tool internal error
thinning architectures for libswiftcorefoundation dylib failed
bitcode strip failed
arm bitcode compatibility

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

ipatool failed with an exception: …, Post upgradation of Xcode to 9.0.1 version, I am experiencing an error "ipatool failed with an exception: #<NoMethodError: undefined method `toolsPath' for� I am usure of the reason exporting was disallowed only in Xcode 9 version. SDK was quite older (Updated since a year), So planned to upgrade the SDK version and hoping to resolve the issue. Will keep posted in detail.

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.

error: exportArchive: ipatool failed with an exception � Issue #158 , error: exportArchive: ipatool failed with an exception #158. Closed. jill-scott opened this issue on Jul 9, 2019 � 2 comments. Closed When I build and archive through xcode, it succeeds without issue. My Frameworks folder appears in the� ios ipatool failed with an exception. ios ipatool failed with an exception CmdSpec NonZeroExcitException. ios – ipatool failed with an exception – Stack Overflow. Gym in Xcode 9 fails on certificate type. · Issue #9642 · fastlane/fastlane

Usually, this could happen due to the problem in the External library or framework used in your project.

To trace which framework is causing the issue, you could remove the framework from the project. Comment those lines which use that framework and start Archiving the iOS build. If that works, you could replace that faulty framework with the latest stable release.

"ipatool failed with an exception" when packaging up ipa file � Issue , Steps to Reproduce the Problem. Run xcodebuild to produce an archive of your app with Instabug as a dependency. Example: xcodebuild� ipatool failed with an exception. Hi. I have notice that the TARGET_BUILD_DIR has changed in Xcode 9, I don´t know if thats correct or a bug in Xcode.

I too struck by this issue!

I solved this problems after removing 'Asset/Unity Technologies/Recorder' in my unity project.

[iOS] Distribute App error: ipatool failed with an exception , Ask questions[iOS] Distribute App error: ipatool failed with an exception: #< CmdSpec::NonZeroExcitException: Command exited with pid 47582 exit 1: v 7.0. 1; RN� We are trying to create a IPA file with Xcode 9 commandline tools and are running into issues. If we do the same procedure with Xcode 8.3.3 it works fine so we blieve the problem is tied to Xcode 9.1.

If you happen to be the one making the framework like i did and your framework causing those ipatool failed issue. you can check on these:

  1. Remove all dependency in your project and try adding it one by one, make sure which framework causing the build error, check for newest stable version or report to the framework owner to fix the issue.

  2. Disable everything related to code coverage in your Project Scheme Test Section before building your framework for others to use.

code coverage disabled

  1. In my case the framework was built without error, but it will generate ipatool error on .ipa archive on Project that using my framework. Been trying to solve this issue and found out that there's a line of code which causing the ipatool failed:
    if (@available(iOS 10.0, *)) {

    }

changed to this code solve the issue for me:

    if(([[[UIDevice currentDevice] systemVersion] floatValue] >= 10.0)) {

    }

Note: I'm using Xcode 11.3.1 with debug SDK 13.2 and build target iOS 9.0 with Bitcode Enabled

ipatool failed with an exception: #<NoMethodError: undefined , Post upgradation of Xcode to 9.0.1 version, I am experiencing an error "ipatool failed with an exception: # NoMethodError: undefined method `toolsPath' for� Use xcode export ipa file, reported the following error, xcode 9.2 version ipatool failed with an exception: #&lt;TypeError: no implicit conversion of nil into Array&gt; /Applications/Xcode Skip to content

xcode 9 export error, unity 5.6.3p2 xcode 9 osx 10.12.6. Successfully build archives, but export will be wrong message: ipatool failed with an exception:� @pap5508 Getting the same `error: exportArchive: ipatool failed with an exception: #<NoMethodError: undefined methodtoolsPath' for nil:NilClass>`` as @pap5508 on High Sierra and XCode9.2. As a temporary solution, I need to add "compileBitcode: false" to export options plist as this thread says: fastlane/fastlane#9642

Xcode打包OTA包出错:ipatool failed with an exception CmdSpec , Or use the old method to copy the iOS12 DeviceSupport file to Xcode9.4 can also solve ipatool failed with an exception: #<CmdSpec::NonZeroExcitException:� With Xcode 9 Beta 5 my gym / scan is stoping on showBuildSettings now, so I am unable to check the signing at this point. Looks like an issue with beta 5. Looks like an issue with beta 5. xcodebuild -showBuildSettings timed-out after 10 seconds and 3 retries

Xcode error record, After the update of SDK, I cannot able to export the .ipa file from XCode. Am getting an error message as "ipatool failed with an exception: Note: I'm using Xcode 11.3.1 with debug SDK 13.2 and build target iOS 9.0 with Bitcode Enabled . ipatool failed with an exception: #<CmdSpec::NonZeroExcitException: I changed a framework I am linking into my project to a dylib library. This started showing up when I tried to distribute my app internally via the enterprise distribution.

Comments
  • yes i'm using Charts framework but before working fine now it causing these error
  • ok. Is it something updated the cocoa pods to latest release? Its working fine earlier means with the same Charts framework version.
  • there is no change in frameworks using the same only & I'm not using the cocoa pods in this project