Navigate to the project folder and run the following command:
swift run
Once running you should see the following message:
[ NOTICE ] Server starting on http://127.0.0.1:8080
Open the project in Xcode:
open Package.swift
Set a custom working directory following Vapor Xcode Guide.
Select "My Mac" target and click the play button (⌘ + R) to build and run your project.
Once running you should see the following message in the Xcode console:
[ NOTICE ] Server starting on http://127.0.0.1:8080