Chapter 2, page 33 when I do : vapor run, I get this error :
$ vapor run
Running HelloVapor2 …
This copy of libswiftCore.dylib requires an OS version prior to 10.14.4.
How can I solve this?
I’m on macOS 10.15 Beta 4
Xcode 10 and 11 Beta both are installed
@blakninja I’ve seen that on the forums a few times to do with Xcode on Catalina. I don’t actually know the solution since it’s an Xcode issue. Join the Vapor Discord and ask in the #misc channel, some people may be able to help!
(Alternatively, building from Xcode should work fine)
Re: (Alternatively, building from Xcode should work fine)
I opened the project with Xcode and built it, then ran vapor run and still get the same error. Maybe I am not doing it correctly?
Btw, I don’t have a problem with building, using
vapor build. The problem is with
FYI : I asked in #misc and someone suggested using
swift run, but I get the same error.
Have you tried running from Xcode?
Running with Xcode 11 beta worked. Thanks!