bazel-xcode / PodToBUILD

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

Support nested subspecs #90

Open kitterion opened 5 years ago

kitterion commented 5 years ago

Currently only targets for top level subspecs get generated.

I tried an easy solution of turning the following reduce into a recursive function https://github.com/pinterest/PodToBUILD/blob/5dc6454450d6566b37862fbe10ef909b4d9aea71/Sources/PodToBUILD/BuildFile.swift#L336-L349 but it seems to not be enough. In particular, the filegroup with union headers gets generated for a target and its parent spec but not all the way up to the root spec.