Re: How to compile for macOS 10.11 ?

2019-10-11 Thread Jens Alfke via Cocoa-dev


> On Oct 11, 2019, at 1:36 AM, Gabriel Zachmann via Cocoa-dev 
>  wrote:
> 
> But a customer tells me that it does not work under El Capitan on their 
> machine.
> It displays the message "This screen saver requires OS X 10.14".

If the alert is that specific, it sounds like your bundle has an Info.plist key 
specifying that it requires 10.14.
Otherwise you'd get a more generic alert about "failed to load" or "fatal 
exception" or something…

—Jens
___

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


How to compile for macOS 10.11 ?

2019-10-11 Thread Gabriel Zachmann via Cocoa-dev
I have some code that works fine in macOS 10.14.
The only warnings I get during compilation are related to the GUI (about 
clipping and constraints and the like).

Now I would like to compile this for 10.11 (El Capitan).
Problem is, I only have one Macbook running 10.14

In Xcode, I switched the deployment target in the Project Info to 10.11 , and 
dito in the target's deployment target.
(why doesn't the target's deployment target follow the project's deployment 
target?)

There are just two places in the source code that I am guarding with
if ( @available(macOS 10.13, *) )

But a customer tells me that it does not work under El Capitan on their machine.
It displays the message "This screen saver requires OS X 10.14".

Am I missing something?
I would appreciate all kinds of hints.

If you would like to test drive my code:  
https://www.dropbox.com/s/t9sm2py7jhetyl3/ArtSaver.saver-Capitan.zip?dl=0

Thanks a lot in advance.

Best regards, Gabriel




smime.p7s
Description: S/MIME cryptographic signature
___

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