Cracking open MacOS Sonoma, Sequoia, and Megasogwon

All sorts of amusements and nonsense unrelated to xTalk
Post Reply
User avatar
richmond62
Posts: 4831
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Cracking open MacOS Sonoma, Sequoia, and Megasogwon

Post by richmond62 »

[In case you don't know 'Megasogwon' is an evil person in Longfellow's Hiawatha, and NOT (well as far as I know) the name for MacOS 16: although maybe it should be.]

This is basically a repost from somewhere it got buried.

This is HOW to allow your Apple machine running MacOS 14, MacOS 15, and, presumably, going forwards, to allow you to run 'any old crap' you want (and be aware that I wrote 'any old crap', and that means what it looks like: so ANY thing: so Uncle Richmond says "be bloody careful.") without having to click 57 buttons, prostitute yourself down the main street, and so on.

-------------------------------------------------

Crack open your Terminal App:
-
Terminal.png
Terminal.png (12.46 KiB) Viewed 3626 times
-

Type this:

Code: Select all

sudo spctl --master-disable
hit the RETURN key and enter your password.

Then crack open SYSTEM PREFERENCES:
-
Screenshot 2024-08-27 at 12.39.08.png
Screenshot 2024-08-27 at 12.39.08.png (41.12 KiB) Viewed 3623 times
-
AND go to 'Security and Privacy' and accept 'software from ANYWHERE'.

THAT IS ALL. 8-)
https://richmondmathewson.owlstown.net/
User avatar
tperry2x
Posts: 3209
Joined: Tue Dec 21, 2021 9:10 pm
Location: Somewhere in deepest darkest Norfolk, England
Contact:

Re: Cracking open MacOS Sonoma, Sequoia, and Megasogwon

Post by tperry2x »

Fun fact, as they say - or FYI - whichever you prefer.

You'll find I use this exact same command in the "Read me first" script that comes with the Mac version of OXT Lite.
fyi-as-they-say.png
fyi-as-they-say.png (194.79 KiB) Viewed 3617 times
User avatar
richmond62
Posts: 4831
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Cracking open MacOS Sonoma, Sequoia, and Megasogwon

Post by richmond62 »

Fun 'fact'/question.

Who EVER reads those 'read me' documents? :evil:

ALSO: 'doing it directly' is probably better than via xTalk.
https://richmondmathewson.owlstown.net/
User avatar
tperry2x
Posts: 3209
Joined: Tue Dec 21, 2021 9:10 pm
Location: Somewhere in deepest darkest Norfolk, England
Contact:

Re: Cracking open MacOS Sonoma, Sequoia, and Megasogwon

Post by tperry2x »

richmond62 wrote: Tue Aug 27, 2024 1:33 pm Who EVER reads those 'read me' documents? :evil:
Well, I did make it a big "Read me first" with a great big warning triangle... I hoped someone would.
(to be fair, I did mention this back in April)
And if you remember, you told me that you had 'allow from anywhere turned on' already. Perhaps that was a different mac though.
richmond62 wrote: Tue Aug 27, 2024 1:33 pm ALSO: 'doing it directly' is probably better than via xTalk.
That's not xTalk, that's Applescript. I did it in Applescript so it would run without a hitch, being 'built-in' to the OS. It was either that or a shell script - but then I'd have encountered other problems with people not making it executable, or Apple forcing people away from a bash shell as default over to zsh.
User avatar
OpenXTalkPaul
Posts: 2633
Joined: Sat Sep 11, 2021 4:19 pm
Contact:

Re: Cracking open MacOS Sonoma, Sequoia, and Megasogwon

Post by OpenXTalkPaul »

tperry2x wrote: Tue Aug 27, 2024 9:28 pm That's not xTalk, that's Applescript. I did it in Applescript so it would run without a hitch, being 'built-in' to the OS. It was either that or a shell script - but then I'd have encountered other problems with people not making it executable, or Apple forcing people away from a bash shell as default over to zsh.
The problem with that is if you save your AppleScript as a standalone .app bundle, is the compiled applet binary ABI compatible with all of the versions of macOS OXT runs on (v10.9 to current)? I think that was an issue for the applet I had in my DMG (that just ran shell commands to create the dummy license file ahead of time), it didn't work on newer macOS 12+ IIRC. To fix that I guess would need to have it as a non-compiled version, or separate .app for certain macOS versions, or maybe could be an Automator action or whatever? Of course best fix would be to have engine compiled for macOS with the fix included or otherwise patch out that license check stack from the IDE binary, annoying that it's even embedded in there. Or could just give up on Apple forever, may be an option :lol:
User avatar
tperry2x
Posts: 3209
Joined: Tue Dec 21, 2021 9:10 pm
Location: Somewhere in deepest darkest Norfolk, England
Contact:

Re: Cracking open MacOS Sonoma, Sequoia, and Megasogwon

Post by tperry2x »

OpenXTalkPaul wrote: Wed Aug 28, 2024 2:43 am Or could just give up on Apple forever, may be an option :lol:
That is incredibly tempting... I'll see what MacOS 16 has in store for everyone...
Seriously though, it does seem to be being made increasingly difficult by Apple. Of course, I expect that it's only going to get harder as everything will be increasingly locked to the App Store. MacOS is increasingly headed towards the iOS-style unified Apple interface, so at that point, it may be time to reassess if it's realistic to keep chasing Apple's ever-moving changes. All it takes is Apple to suddenly depreciate (or completely kill off) an API that OXT uses, and the IDE will suddenly not open. We obviously have no control or no leverage over that, and like hundreds (thousands / millions?) of other developers, we are at the mercy of Apple here.

As you know, that's why the engine has to keep in step with these OS changes, but it's not at all surprising to me if a MacOS beta or mainstream update suddenly decides not to run OXT one day soon. I'm kind of expecting it to be honest.

Back on topic (sorry, I'm rambling) - I tested that applescript on MacOS 10.9 (Mavericks) through to 12.7.4 (Monterey) - as I couldn't go any further OS-wise, because my ancient macs choke on anything higher than that - even with an opencore boot patcher, just the graphics cards aren't up to it.

The script seems to work on those OS versions, but for all I know it might be broken beyond belief in Ventura+ (don't think it is as far as I've heard).

As you know, I did remove the registration requirement from the Linux engine (and my recompiled Windows one which I didn't end up using). It's incredibly easy, and just requires setting a true to a false, but of course that means the ENTIRE engine needs recompiling just to set these couple of lines of script! :roll:

(unless the Mac and Windows engines can be hex-patched... Tom... if you are out there?)
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests