Re: Xcode Build Location
Re: Xcode Build Location
- Subject: Re: Xcode Build Location
- From: Rob Petrovec via Cocoa-dev <email@hidden>
- Date: Thu, 7 May 2020 22:04:53 -0600
Have you considered using a workspace to handle building all of your individual
projects? That should solve your file path & linking problem.
btw, the 28 character string is a UUID. I’m not sure about its lifetime.
—Rob
> On May 7, 2020, at 9:57 PM, Richard Charles via Cocoa-dev
> <email@hidden> wrote:
>
> I have a project that has several large dynamically linked libraries which
> are located in the application bundle. Each linked library is a separate
> project.
>
> The setting in Xcode > Preferences > Locations > Advanced > Build Location is
> set to use Shared Folder > Build. Historically has worked well but now with
> Xcode 11 there are some drawbacks. For example Clean Build Folder cleans the
> entire shared build folder not just the target. Also archiving has never
> worked and still does not work with this configuration.
>
> So now I have changed the Xcode setting from Shared Folder to Unique which
> apparently is the default.
>
> When using the Unique setting a 28 character string is appended to the
> project name in DerivedData. The string appears to be random characters but
> most likely is not.
>
> During build when linking to the dynamic libraries this 28 character string
> is in the file path. So if it ever changes then linking will fail.
>
> So my question is will this 28 character unique string always remain constant
> for a given project?
>
> Any insight would be appreciated.
>
> --Richard Charles
>
> _______________________________________________
>
> 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
_______________________________________________
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