I've found that if I include the Polyline library in my iOS project as a framework (built using Carthage), exporting an IPA through Xcode Organizer fails if "Rebuild from Bitcode" is enabled (the default). I have no issue if I copy Polyline.swift into my source tree and use it that way instead of as a framework.
I've found that if I include the Polyline library in my iOS project as a framework (built using Carthage), exporting an IPA through Xcode Organizer fails if "Rebuild from Bitcode" is enabled (the default). I have no issue if I copy Polyline.swift into my source tree and use it that way instead of as a framework.
The error message is as follows (log files are attached) IDEDistribution.standard.log IDEDistribution.verbose.log IDEDistributionPipeline.log
:
ipatool failed with an exception: #<CmdSpec::NonZeroExcitException: /Applications/Xcode.app/Contents/Developer/usr/bin/bitcode-build-tool exited with pid 68864 exit 1 Stdout: Debug: SDK path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk Debug: PATH: ['/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin', '/Applications/Xcode.app/Contents/Developer/usr/bin'] Debug: Using: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo MachoInfo: cd / "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo" "-info" "/var/folders/3d/n22ncn591pbb85z4mz737vg80000gn/T/ipatool20171206-67131-mwd1cb/thinned/armv7/Payload/DriverApp.app/Frameworks/Polyline.framework/Polyline"