Problem with my files disappear in xcode

Hello :)

I'm new to Xcode and Swift in general and i wanted to build a little app to train. I've started yesterday and pushed all my files on git. And today when i started the app... All my files were gone. It's strange because when i try to find them in the finder they are available. Any tips ?

Thx

are you sure you have a ContentView.swift file on disk? You say "all my files were gone" but I only see one that Xcode can't find. Where does Xcode think it is?

Click on the file ContentView in the file navigator on the left, open the inspectors panel on the right, select the File inspector (the first one). You'll see the Full Path - does it lead where you expect? If the file is present on disk, you can update the path by clicking the little rightward-pointing arrow in a circle next to the path and selecting the file in its actual location.

Hi , thx for the answer :)

When i talk about "my files" i talk about the one on the first screen. I don't have the files named "Views" and "models"

To responds about the second part, if i click on the little arrow the path is not correct for "ContentView". The problem is that i moved it in the files Views before my commit ? As you say if you change the path it work for this file in particular. But in my "views" folder i have many others scripts that are not existing. And the Views just vanished to in Xcode I may have missed something and i don't rly understand what.

Problem with my files disappear in xcode
 
 
Q