Re: Building for 10.12
Re: Building for 10.12
- Subject: Re: Building for 10.12
- From: Sandor Szatmari via Cocoa-dev <email@hidden>
- Date: Sun, 20 Mar 2022 17:28:11 -0400
G
> On Mar 20, 2022, at 17:04, Gabriel Zachmann via Cocoa-dev
> <email@hidden> wrote:
>
>
>>
>>> My question now is: why did Xcode not warn me about that function, even
>>> though the deployment target was set to 10.12 ?
>> The deployment target not a compiler setting. It is more of a runtime
>> thing. So if you set the deployment target to 13.0 it will not launch on
>> macOS 12, for
>
> Oh, I see. That explains a lot.
>
>> example. The SDK is what determines what API are (not) available. So if you
>> were building against the 10.12 SDK you would have gotten a compiler error.
>
> Sorry for asking (again?): how would I do that?
> How do I install old SDK's on current Xcode / macOS?
>
You used to have to manually copy the SDKs into the Xcode app (where the SDKs
are stored) then you have to edit a plist inside the app to let Xcode know what
the min SDK is… not sure if this still works… but that should give you enough
info to google an example or something… don’t mean to be vague, but I don’t
have my work comp here to look at the paths and file locs… but you should be
able to find an example
> How would I tell Xcode to use those old SDK's?
> Is there an easy switch back and forth?
They show up in the Xcode UI… you will have access to all SDKs you put in the
app…
Again not sure if this solution still works…. Good luck
Sandor
>
> Best regards, Gabriel
>
>
> _______________________________________________
>
> 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