Workspace has its own DerivedData folder
DerivedData ModuleCache.noindex workspace_name Build Products Debug-iphonesimulator Cat Dog Dog2 Index Info.plist Logs Build Debug Install Issues Package Test LogStoreManifest.plist Test-scheme_name-2019.12.15_21-08-32-+0100.xcresult scm.plist SourcePackages TextIndex
Note that workspace always needs a scheme to work
xcodebuild: error: If you specify a workspace then you must also specify a scheme. Use -list to see the schemes in this workspace.
Project has its own DerivedData folder. If run a scheme within workspace, we see build folder for workspace. But if we open a project and run a scheme within project, we see build folder for that project.
The structure is the same, with project_name instead workspace_name