Re: Building for 10.12

2022-03-20 Thread Sandor Szatmari via Cocoa-dev
G > On Mar 20, 2022, at 17:04, Gabriel Zachmann via Cocoa-dev > 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

Re: Building for 10.12

2022-03-20 Thread Alex Zavatone via Cocoa-dev
Isn’t it as simple as setting the minimum build version to 10.12? > On Mar 18, 2022, at 9:47 AM, Gabriel Zachmann via Cocoa-dev > wrote: > > I am trying to build my app for macOS 10.12 (Sierra). > > First of all, is it correct that I need to build it for "My Mac" , not do a > niversal build (

Re: Building for 10.12

2022-03-20 Thread Gabriel Zachmann via Cocoa-dev
>> 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

Re: Building for 10.12

2022-03-20 Thread Rob Petrovec via Cocoa-dev
> On Mar 20, 2022, at 11:41 AM, Quincey Morris > wrote: > > (Resending because I forgot to cc the list) > > On Mar 20, 2022, at 08:09, Gabriel Zachmann via Cocoa-dev > wrote: >> >> Apparently, this caused it: >> >> Symbol not found: _AVAudioSessionInterruptionNotification >> >> Yes, I am

Re: Building for 10.12

2022-03-20 Thread Quincey Morris via Cocoa-dev
(Resending because I forgot to cc the list) On Mar 20, 2022, at 08:09, Gabriel Zachmann via Cocoa-dev mailto:cocoa-dev@lists.apple.com>> wrote: > > Apparently, this caused it: > > Symbol not found: _AVAudioSessionInterruptionNotification > > Yes, I am using that function, and yes, it seems to

Re: Building for 10.12

2022-03-20 Thread Rob Petrovec via Cocoa-dev
> On Mar 20, 2022, at 9:09 AM, Gabriel Zachmann wrote: > > I have now the crash report. > > Apparently, this caused it: > > Symbol not found: _AVAudioSessionInterruptionNotification > > Yes, I am using that function, and yes, it seems to be available only on > macOS 11 and higher. > > My

Re: Building for 10.12

2022-03-20 Thread Gabriel Zachmann via Cocoa-dev
I have now the crash report. Apparently, this caused it: Symbol not found: _AVAudioSessionInterruptionNotification Yes, I am using that function, and yes, it seems to be available only on macOS 11 and higher. My question now is: why did Xcode not warn me about that function, even though the

Re: Building for 10.12

2022-03-18 Thread James Walker via Cocoa-dev
On 3/18/22 1:03 PM, Gabriel Zachmann via Cocoa-dev wrote: Make sure you have the 10.12 SDK installed in your Xcode. To find out what Actually, it seems I wouldn't need older SDK's any more, see, for instance: https://developer.apple.com/forums/thread/82518 And some people even say

Re: Building for 10.12

2022-03-18 Thread Gabriel Zachmann via Cocoa-dev
>>> Make sure you have the 10.12 SDK installed in your Xcode. To find out >>> what Actually, it seems I wouldn't need older SDK's any more, see, for instance: https://developer.apple.com/forums/thread/82518 And some people even say it could be harmful to have multiple SDK's with Xcode 1

Re: Building for 10.12

2022-03-18 Thread Rob Petrovec via Cocoa-dev
> On Mar 18, 2022, at 1:11 PM, Gabriel Zachmann wrote: > >>> I am trying to build my app for macOS 10.12 (Sierra). >>> >>> First of all, is it correct that I need to build it for "My Mac" , not do a >>> niversal build (Any Mac)? >> If you are only building to debug it then My Mac is fine

Re: Building for 10.12

2022-03-18 Thread Gabriel Zachmann via Cocoa-dev
>> I am trying to build my app for macOS 10.12 (Sierra). >> >> First of all, is it correct that I need to build it for "My Mac" , not do a >> niversal build (Any Mac)? > If you are only building to debug it then My Mac is fine. But if you > are building to send out to customers then you wan

Re: Building for 10.12

2022-03-18 Thread Rob Petrovec via Cocoa-dev
> On Mar 18, 2022, at 8:47 AM, Gabriel Zachmann via Cocoa-dev > wrote: > > I am trying to build my app for macOS 10.12 (Sierra). > > First of all, is it correct that I need to build it for "My Mac" , not do a > niversal build (Any Mac)? If you are only building to debug it then My Ma