Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B buck
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 201
    • Issues 201
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • buck
  • Issues
  • #2167
Closed
Open
Issue created Jan 16, 2019 by Administrator@rootContributor

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.

Assignee
Assign to
Time tracking