Re: Library Location
Re: Library Location
- Subject: Re: Library Location
- From: Quincey Morris <email@hidden>
- Date: Mon, 13 Mar 2017 14:04:19 -0700
On Mar 13, 2017, at 13:47 , Richard Charles <email@hidden> wrote:
>
> The location for Xcode project-generated files is specified in the Locations preference. In this preference "Derived Data:" has a Default value which is ~/Library/Developer/Xcode/DerivedData. Inside this directory is the following directory structure.
>
> ~/Library/Developer/Xcode/DerivedData/Build/Products/Debug
> ~/Library/Developer/Xcode/DerivedData/Build/Products/Release
>
> The final build products for all Xcode projects are located directly inside these folders. They are not put in subdirectories by project.
No, this is not the default preference, although you may have changed it in your Xcode installation. If you click the “Advanced” button, you will a number of sub-options, the first of which (“Unique”) is the factory default. You may have changed this to “Custom”, and thereby forced all project output into the same place.
Also, this is the preference for *new* projects. There is also a per-workspace (or “per-project”, if workspaces are hidden) setting on File -> Workspace/Project Settings. If you look there, you’ll see a number of choices, the default one being “Default Location”, meaning what’s in preferences, and if you click the “Advanced” button you’ll all of the same advanced settings, plus the explicit option to use preferences, which is (again) the default.
It is, I would say, very unusual and undesirable to dump all project output into the same directories. If I look in my DerivedData folder, I definitely have per-workspace/project subdirectories with long, unique names.
If all your projects are being built into the same derived data directories, that would certainly explain some of the behavioral differences you’ve described. “Fixing” that would probably break your current solution, though.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden