Skip to content

Lambda could not load resource bundle #501

Open
@johnmorrell

Description

@johnmorrell

I have a swift target including static resources referenced in the package target. This target is included in the Lambda executable. The static resources are available when running locally via a CLI executable. When deployed to Lambda via the archive plugin using 1.0.0-alpha.3 these resources don't seem to be available. The error from CloudWatch is:

App/resource_bundle_accessor.swift:12: Fatal error: could not load resource bundle: from /var/task/Sandbox_App.resources or /workspace/.build/x86_64-unknown-linux-gnu/release/Sandbox_App.resources

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions