raphaelmor / Polyline

Polyline encoder / decoder in swift
MIT License
299 stars 50 forks source link

"Rebuild from bitcode" fails when exporting from Xcode Organizer with Polyline.framework embedded #49

Open thully opened 6 years ago

thully commented 6 years ago

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"

youdidut commented 6 years ago

I am facing similar issues. Did you find the solution?

tomtaylor commented 6 years ago

I haven't had a chance to look at this, but did either of you solve this? @thully @youdidut