Thanks!

Cheers,

On 12/11/2023 9:20 AM, Taeumel, Marcel wrote:
 


Aha!

> I am pretty sure that such backwards compatible binaries will not expose this API for newer OS versions... even if technically there in the binary.

It is Objective-C, not C. Tobias reminded me. :-) It's kind of message sending. So this should work, even if compiled on an older (pre-12) macOS. I will not touch the .h to avoid compilation issues on newer macOS platforms. That particular interface might be private anyway.

Best,
Marcel

Am 11.12.2023 11:43:38 schrieb Marcel <marcel.taeumel@hpi.uni-potsdam.de>:

Hi Juan --

The binaries we build and share are for macOS 10.9+ (Intel) or macOS 11+ (ARM).

Yes, I can implement applicationSupportsSecureRestorableState, returning YES because we do not do custom save/restore and thus can let macOS handle it.

However, I cannot test the binary as I have no macOS12+Intel combination at my service. I am pretty sure that such backwards compatible binaries will not expose this API for newer OS versions... even if technically there in the binary.

Do you know how this mechanism works? Can I build for a pre-12 macOS and still provide an answer to that check in a 12+ macOS? Does it scan the binary for symbols? Does modern xcode used in an old macOS have some special measures for this?

Hmm...

Best,
Marcel

Am 21.11.2023 20:19:39 schrieb Juan Vuletich <juan@cuis.st>:

On 11/21/2023 3:25 PM, Juan Vuletich wrote:
Hi Marcel,

When running on an Intel Mac with latest OS, the command shell window where I start the VM + Cuis shows this message:
"WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES."

This has been so for some time, after some MacOS update. I guess this is a harmless annoyance from Apple, and not a bug in the VM at all. Still, it would be nice if there was a way to avoid it.

Thanks!

On 11/21/2023 2:02 PM, Taeumel, Marcel wrote:

Hi all --

Please test this VM version (includes a small change log):

Choose your preferred platform. Focus on cog.spur flavors for 64-bit machines.

Thank you!

Best,
Marcel

-- 
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich

It should be enough to implement NSApplicationDelegate.applicationSupportsSecureRestorableState: returning NO, right?

Thanks,
-- 
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich


-- 
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich