Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lambda could not load resource bundle #501

Open
johnmorrell opened this issue Mar 11, 2025 · 0 comments
Open

Lambda could not load resource bundle #501

johnmorrell opened this issue Mar 11, 2025 · 0 comments

Comments

@johnmorrell
Copy link

johnmorrell commented Mar 11, 2025

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant