-
Notifications
You must be signed in to change notification settings - Fork 104
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
[plugin] LocalDebugging example - archive fails because of Shared code #276
Comments
One solution that worked for me is to consider both
That allows to build and archive the
|
interesting issue. the archive plugin assumes the lambda is self contained and no external file system dependencies outside the package directory. in concept, the command should be invoked from |
Thank you Tom. Looks like the old debate about mono vs. multi repositories. I re-arranged the package structure to share the same That way, the iOS app still depends on the Swift package. However, with this approach, Xcode sees both Project now builds with Agree with you that more thinking or feedback is required on that one. |
won't be fixed |
Expected behavior
I expect the archive plugin to package the
MyLambda
function part of theExamples/Localdebugging
The archive command fails because part of the
MyLambda
function relies onShared
code which is not underMyLambda
directory.Actual behavior
The archive fails because the Lambda function relies on shared code outside of the
MyLambda
directory structure.Steps to reproduce
If possible, minimal yet complete reproducer code (or URL to code)
see main branch of repository
SwiftAWSLambdaRuntime version/commit hash
https://github.com/swift-server/swift-aws-lambda-runtime/tree/dc64ce195b1c51356f6655935c3509e296c35696
Swift & OS version (output of
swift --version && uname -a
)The text was updated successfully, but these errors were encountered: