In this article, we will see how to resolve an error that occurs while creating a server side Swift project using the Vapor framework.
Working Environment
Xcode : 10.2.1
Swift : 5.0.1
Vapor Toolbox : 3.1.0
Platform : macOS Mojave ( 10.14.5 )
Error
On executing the command vapor xcode
, an error message is displayed as shown below :
Error: backgroundExecute(code: 1, error: "The file /Users/xxxxx/hello-leaf/*.xcodeproj does not exist.\n", output: "")
Solution
In terminal, execute the given below command to rectify the error:
sudo xcode-select -s '/Applications/Xcode.app'
Comments on this post