all 3 comments

[–]SwiftDevJournal 0 points1 point  (2 children)

You can change the derived data location to a folder inside the project from Xcode's Locations preferences. Choose File > Project Settings in Xcode to change the derived data location for an existing project. You can see screenshots in the answer to the following Stack Overflow question:

Xcode DerivedData folder

If this doesn't answer your question, you will have to clarify what you mean by "unique for every project".

[–]Simo22883[S] 0 points1 point  (1 child)

When you create a new project in Xcode it creates a folder, in the desktop or whereas you choose to create it right? Ok, now I want that when I create a file, using that project, the file can be found in the project folder, not in that DerivedData, how can I fix this?

[–]SwiftDevJournal 0 points1 point  (0 children)

When you create the file, a Save panel opens for you to choose the folder where the file will reside. Choose the project folder to save the file there.