How to use Derived data in Xcode
Issue #543
Workspace
Workspace has its own DerivedData folder
1 | DerivedData |
Note that workspace always needs a scheme to work
1 | xcodebuild: error: If you specify a workspace then you must also specify a scheme. Use -list to see the schemes in this workspace. |
Project
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