User encountered an issue with deploying a Swift function to a self-hosted environment. They tried deploying with the code in the 'starter' template and it succeeded. The only significant difference was the folder structure and package name. User has attached the folder structure and settings. Other users ask for version info and provide documentation links. The issue was resolved by following the structure in the 'starter' template.
Solution: Follow the structure in the 'starter' template and try deploying the function.
The only significant difference is nesting (folder phone), and package name in Package.swift. Can you please try to copy what we do in starter? Once we have your function up and running, we can better spot what exact change is causing this fail, and implement a proper fix
Triple Gelato
Rank 2: Process
Nov 24, 2023, 22:59
After I trying with the code in starter the deployment is successful. However tried deploying again with the previous structure and it also succeeded
Drake
Nov 25, 2023, 03:10
So we can mark this as solved now?
Triple Gelato
Rank 2: Process
Nov 25, 2023, 09:51
Yes
fafa
Rank 4: Virtual Machine
Nov 25, 2023, 14:36
Heyo, please mark this as solved by adding [Solved] at the beginning of the title, thanks!
Drake
Nov 25, 2023, 20:47
[SOLVED] Deploying swift function to self hosted environment