This post is about project setup for full stack swift developer. It is the same as WWDC 2022 – Use Xcode for server-side development
I like this setup because I don’t want to switching projects between iOS and Vapor.
Step 1. Copy Vapor Project folder into iOS App Project folder
Step 2. Open iOS App Project (xcodeproj) and drag Vapor Project folder at the top level

Step 3. Close iOS App Project folder and open Xcode Workspace

Step 4. Resolve git subproject -dirt issue
If you worked on vapor project with git, you may facing git subproject issue. To resolve it you need to update submodule.
Go to the vapor project you copied in iOS project.
Check git status
Update git status by syncing with remote and commit any changes
Go back to parent folder (iOS Project folder)
Sync with remote and commit any changes
