bazel-xcode / PodToBUILD

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

Mixed language / Swift support #11

Open jerrymarino opened 6 years ago

jerrymarino commented 6 years ago

Add support for Swift / mixed languages.

I think this is pretty straight forward. The main difference between Xcode and Bazel is that Xcode allows mixed language targets, and Bazel does not. The PodSpec format is heavily influenced by this feature.

Logic for swift could work out like this:

The same logic should apply for other languages, or subsets of a pod which contain settings that only work with a subset of the source code, like C++ conditional options used in Texture. This logic should fix the recent query to bazel-discuss and workarounds for Texture.

LeeWong commented 5 years ago

Any news on this feature?