iOS frameworks don't include module maps
Created by: RPallas92
After building a .framework file with Buck with the following rule:
apple_bundle(
name = "SharedBundle",
visibility = [
"PUBLIC",
],
extension = "framework",
binary = ":Shared#static",
product_name = "Shared",
info_plist = "Info.plist",
deps = [
":SharedResources",
],
info_plist_substitutions = info_plist_substitutions("Shared"),
)
A Shared.frameworks gets build, but it does not include module maps either header files.
So when we try to import it in a xcode project, we add it as a embedded binary, but we are unable to import it from Swift code (Import Shared) because of the missing module maps.