JohnCoates / Aerial

Apple TV Aerial Screensaver for Mac
MIT License
20.78k stars 1.05k forks source link

Fresh install results in "You cannot use the Aerial screen saver with this version of macOS." #1039

Closed TXC closed 4 years ago

TXC commented 4 years ago

General troubleshooting tips

Before logging an issue please check that:

If none of this fixes your issue, tell us about the problem you are experiencing or the feature you'd like to request.

Required information

In order to help us sort your issue, we ask that you provide the following information:

If appropriate, please enable Debug mode and Log to disk in Advanced tab and replicate your bug, then attach the AerialLog.txt file (You can access this file through the Advanced tab).

Description of issue / Feature request

Have tried to install the screen saver, both latest stable and beta release. First through Firefox, then through Safari and through brew. All results in this message.

I've CMD+Q the system preferences between all tries.

image

glouel commented 4 years ago

Hi @TXC

Can you please close System Preferences (the whole window) and reopen it, leaving it selected ? It should then load. There's a bug with Swift screensavers that causes that message, see here : https://github.com/JohnCoates/Aerial/blob/master/Documentation/Troubleshooting.md#very-common-issuesmacos-bugs

TXC commented 4 years ago

@glouel

Done that.

Also selected a default one, quitted, opened up, selected Aerial, quitted, opened up. Same thingy.

glouel commented 4 years ago

Quick question, can you launch the screensaver if you use a hot corner ? Those are separate (system preferences and running as a screen saver) so it usually work, at least that's my understanding. That may narrow things a bit if it does/doesn't run.

Could you try this : close System Preferences, open Console.app, then go to screen saver page again. Then look into the console, for warning/errors that may be relevant. You can filter by "Aerial", or more likely as you are running Catalina, by "legacyScreen". This might give me a clue of what's going on here.

Thanks

TXC commented 4 years ago

I can't start the screen saver with a hot corner. It starts, but with the same message as the image.

In Console.app, i get no matches on: [ANY: Aerial], [ANY: aerial] or [ANY: legacyScreen]

glouel commented 4 years ago

And in Console.app, if you try to just show errors/warnings at that point in time (I mean when you click "Desktop & Screen Savers", is there anything showing ?

I'm wondering, can you go into ~/Library/Screen Saver/(Aerial.Saver should be there, unless you installed for all users, in which case /Library/Screen Saver/ but I would recommend trying installing for your user only). Then in Terminal try xattr Aerial.saver

I'm wondering if your file isn't quarantined for some reason, that may explain this.

TXC commented 4 years ago

Console.app doesn't show anything relevant, i think.

But when i click it in the preferences i get this: image

com.apple.lastuseddate#PS
com.apple.macl
com.apple.quarantine
glouel commented 4 years ago

Ha ! That's the weird moment where I ask how you unzipped your file. Basically, the .zip is notarized with Apple, but if you use a 3rd party extract tool, macOS may not check the notarization status and quarantine it. It's a bit weird, sorry about that. I would assume it was flagged once and then whatever method you tried gave the same results, maybe. Because homebrew should definitely not have resulted in that quarantin bit.

So running xattr -d com.apple.quarantine should do the trick.

TXC commented 4 years ago

Since this is a new computer, unpacked today, so no extrafancy software installed.

I just downloaded the file, double clicked the zip-file, and then double clicked in the saver-file and installed.

Can't see how it should be done otherwise.


$ xattr -d com.apple.quarantine Aerial.saver
$ xattr Aerial.saver
com.apple.lastuseddate#PS
com.apple.macl

Still the same error. Shall look into this more when i get home.

glouel commented 4 years ago

This is super weird... I'll try to check if there's not an issue with the notarization of latest beta, but a few people downloaded it with no complaint.

When you have time, my suggestion would be, first delete that file. Then use Safari, but first go into settings and make sure it has that setting I circled in blue checked below :

Capture d’écran 2020-08-12 à 16 07 53

This way Safari does the unzip, and it will not quarantine the saver. Let me know how it goes when you have time and sorry for the bad experience. I also have a new installer/updater, but that should result in exactly the same thing as homebrew. If you want to give it a shot it's here : https://github.com/glouel/AerialUpdater

TXC commented 4 years ago

@glouel a reboot resolved it all!

Thank you so much for your assistance and help!

glouel commented 4 years ago

Ha, sometimes macOS is really weird ! Glad to hear it's fixed and no problem, take care !