Why when I make a change to a project on xcode the previous project is affected?
My guess is that it would be either user error, you keep opening the same file, or the clone is in the same directory as the original so it edits them both because Xcode doesn't know which one to actually edit.

What to try:


Make sure you are opening two separate files when you check.
Quit Xcode entirely and open the project again.
Move either the original file or the clone to a different folder. EX: Move it from desktop to downloads or documents
Change the name of the file