Server Side Swift Vapor : Fix the error in creating new project

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 )


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: "")


In terminal, execute the given below command to rectify the error:

sudo xcode-select -s '/Applications/'

Comments on this post

No comments.

Leave a Reply

Your email address will not be published. Required fields are marked *

Trackbacks and Pinbacks on this post

No trackbacks.

TrackBack URL