Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
thully opened this issue Dec 6, 2017 · 2 comments

Comments

@thully
Copy link

thully commented Dec 6, 2017

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
Copy link

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

@tomtaylor
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants