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

Lack of bitcode in debug builds causes linker failure in integrating target with bitcode enabled #82

Open
lyricsboy opened this issue Jun 15, 2017 · 0 comments

Comments

@lyricsboy
Copy link

I'm attempting to use CleanroomLogger in a setup similar to what's described in this post:

http://www.mokacoding.com/blog/carthage-no-build/

Steps to reproduce:

  • Use Carthage with the --no-build and --use-submodules options to manage dependencies
  • Add the CleanroomLogger project to the integrating target's workspace
  • Drag CleanroomLogger.framework from the CleanroomLogger project's Products group into the integrating target's "embed binaries" build phase.
  • Build the integrating target in debug mode for device (iphoneos)

Result:

Linker error about binary not containing bitcode.


If I remove the ENABLE_BITCODE=NO setting from Debug.xcconfig, all appears to be well.

I'm curious: why the complex conditions around bitcode settings at this point? Seems like it could just be left alone...

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

1 participant