Skip to content

Fatal error: could not load resource bundle when using packages with resources #5

Closed
@alfavata

Description

@alfavata

I'm trying to integrate PhoneNumberKit in my lambda, and according to this PR it should work on Linux servers.

However, when I build and deploy my lambda using swift-lambda it encounters the following error:

Fatal error: could not load resource bundle: from /var/task/PhoneNumberKit_PhoneNumberKit.resources or /Users/alfavata/Code/ios-hiya/CallLogLambda/.build/x86_64-unknown-linux/release/PhoneNumberKit_PhoneNumberKit.resources: file PhoneNumberKit/resource_bundle_accessor.swift, line 11

(Note that it's referring to the path on my local machine)

I've put a minimal example package here as suggested by @helje5

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions