Swift vapor project failing to run locally

Mac mini M2, Xcode 15.4, Swift 5.10

I’ve no issue deploying my project using fly deploy, but when I try to run a local instance with fly deploy --local-only, I get the following error:

My project: GitHub - mmarbouh/BananaServer

Any help would be greatly appreciated, thanks.

Hi… I may be misunderstanding what you’re trying for, but --local-only doesn’t actually run the application on your local machine.

Instead, it compiles locally, but then still deploys to Fly.io’s x86 Linux servers, :penguin: :penguin: :penguin: :penguin:.

In the past, there have been a lot of problems with local x86 compilation on ARM hardware.

(Indeed, that’s why remote builds are now the default.)

Hope this helps a little!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.