bazel-xcode / PodToBUILD

An easy way to integrate CocoaPods into Bazel
Apache License 2.0
323 stars 69 forks source link

Producing Bitcode #164

Open cpsauer opened 4 years ago

cpsauer commented 4 years ago

Hi all,

It's totally possible I'm missing something, but I'm having trouble getting PodToBuild deps to compile with bitcode.

I'm passing --apple_bitcode=embedded --copt=-fembed-bitcode into the build, so all the other parts of the project are building bitcode. But the linker informs me that the PodToBuild-based deps were "built without full bitcode," causing the linker to error. It's a matter of "-fembed-bitcode-marker" rather than "-fembed-bitcode", I'm assuming, based on the "full bitcode" part of the warning.

Is building with bitcode indeed not work currently, or am I missing something? And if it is indeed missing, any chance I could ask you to consider adding it?

Thanks so much, Chris

Edit: I should have noted: The example I first ran into is GoogleToolboxForMac--which doesn't seem to do any bitcode disabling in their podspec. This is with the latest release of PodToBuild.