Files locked and cannot make them local to edit

I've pulled the project from Git. Someone else was working on it and it works perfectly fine for them, they can edit all the files. On mine I can only edit what I have added, the files which were already there I can edit, but their changes and additions do not show on the xcode directory on the left side. If i go to finder and click on the project folder there I can see their changes on there..

I tried clicking the lock icon on the preview screen and it says this:

“file.swift” is currently locked because it is a remote resource. and when clicking Unlock

The file is a remote resource. Try making a local copy. Literally have no idea what to do now. I tried copying their files and making new files and folders like how they made on their branch but it says its already existing even though it is not showing on my swift directory!

If you need any other information I am happy to provide it for you!

Did you clone the git repository on iCloud Drive or another file storage service? That often doesn't mix well.

No it is stored locally!

Files locked and cannot make them local to edit
 
 
Q