As explained before, you can optionally take advantage of the powerful editing and debugging features of Xcode if you use macOS. The Vapor Toolbox CLI provides a convenient way for you to generate an Xcode project file from a generic Vapor project.
- In the current directory of your Vapor project, run the following Vapor Toolbox CLI command:
# Step 4: Generate Xcode project filesvapor xcode
- After a few minutes, Xcode project files will be generated. When you are prompted with the question Open Xcode project?, Press Y to open your project in Xcode:
- From the toolbar at the top left corner of Xcode, ...