When you add new files to your project in Windows or Linux, commit them and pull these changes on macOS, you'll see the files in Finder but not in Xcode. This is because Xcode requires manually adding these files to the project structure. To add them:
In Xcode, right-click on the target folder in the project navigator
Select "Add Files to [Project Name]..."
In the file picker dialog:
Select the new files
Ensure "Copy items if needed" is unchecked (files are already in project directory)
Check "Create groups" to maintain folder structure
Make sure your app target is selected under "Add to targets"
Click "Add"
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: