The first thing you'll probably notice about Vapor and Swift Package Manager projects in general is that they don't include an Xcode project. In fact, when SPM generates packages, the
.xcodeproj file is
.gitignored by default.
This means we don't have to worry about
.pbxproj conflicts, and it's easy for different platforms to utilize their own editors.
To generate a new Xcode project for a project, use:
If you'd like to automatically open the Xcode project, use
vapor xcode -y
To generate a new Xcode project manually.
swift package generate-xcodeproj
Open the project and continue normally.