bazel-xcode / PodToBUILD

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

missing modulemap #226

Open joprice opened 1 year ago

joprice commented 1 year ago

When trying to use PodToBUILD with XCHammer, the build fails when looking for module maps for swift dependencies with an error like the following:

Module map file '.../xchammer-includes/x/x/external/DSFSparkline/DSFSparkline_module_map/DSFSparkline.modulemap' not found

According to the comment here, both a modulemap and an "extended" modulemap should be generated: https://github.com/pinterest/PodToBUILD/blob/ab412495387c0a8cc4a32a7c44f40096b9f339c4/Sources/PodToBUILD/BuildFile.swift#L311-L320.

However, I only see a module map like the following: DSFSparkline_extended_module_map.