G > On Mar 20, 2022, at 17:04, Gabriel Zachmann via Cocoa-dev > <cocoa-dev@lists.apple.com> 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 (Cocoa-dev@lists.apple.com) > > 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: > https://lists.apple.com/mailman/options/cocoa-dev/admin.szatmari.net%40gmail.com > > This email sent to admin.szatmari....@gmail.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com