Skip to content

Runtime: Add helper function for accessing bundled resource bundles #113

@stackotter

Description

@stackotter

Resource bundles get placed at a different relative path depending on the platform, and to complicate things further, Swift Bundler users can't use Bundle.module or similar accessors because SwiftPM hardcodes absolute resource bundle paths and then crashes when it can't locate the bundles.

To solve this, we'll likely have to embed the relative path to the resource bundle directory as a metadata property that the runtime can read.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions