Hi alphascorp,
thanks for all that, but wondering what your opinion is for the "solution" I found at https://tinyapps.org/blog/202005070700_remove_catalina_notification_badge.html
Code:defaults delete com.apple.preferences.softwareupdate LatestMajorOSSeenByUserBundleIdentifier && softwareupdate --list
Main question is it gets rid of the red badge for Catalina, but unsure if red badge notification will still appear for a subsequent "real" non-catalina update?
I posted above at https://forums.macrumors.com/thread...unsupported-macs-thread.2121473/post-28510524
Hi @RK78
Yes, the red badge appears during a "non-Catalina" update notification
I tested it on iMac8,1 (10.14.6 build 18G5033) on which Safari was at version 13.1, after replacing "SoftwareUpdate.framework" I ran an update search via System Preferences and I got the red badge telling me that an update was available, in this case Safari 13.1.1, (I also confirm that the update went without any problem and that the red badge disappeared after installation of the Safari update 13.1.1) see for yourself on the following screenshot the presence of the red badge on System Preferences:
The solution on "tinyapps.org" is the same as my message #18,478 to remove the red badge but it is only temporary, the notification of "catalina" will come back as soon as we re-run a new update search via System Preferences.
And I think that with this solution ("tinyapps.org" and #18,478) if we do not disable automatic updates, each time Mojave is started we will get a red badge (this is only a guess because not tested...)
Whereas if you replace the "SoftwareUpdate.framework" the automatic updates can remain activated and the system can also update automaticaly MRT and Xprotect.
For those who do not trust a file from someone on the internet it is easy for everyone to get "SoftwareUpdate.framework"
First solution:
Copy the file from a system 10.14.6 build 4032 not updated to build 5033.
Second solution:
Install 10.14.6 build 18G103 on an external drive, update it to Security Update 2020-002 build 18G4032
Go to this external drive in the /System/Library/PrivateFrameworks/ folder and copy the "SoftwareUpdate.framework" file to reinject it into your system (build 18G5033).
Third solution:
Restore the framework from a Time Machine.
Thanks to @franciscodavid for this clarification, in order to check the correct version of the system go and have a look at the "SystemVersion.plist" file in /System/Library/CoreServices/ (in Time Machine...)
You must have:
...
<key>ProductBuildVersion</key>
<string>18G4032</string>
...
For information, the extraction (with an app like Pacifist.app) of "SoftwareUpdate.framework" in the installation package of 10.14.6 build 103 should work too (although it has been updated since with the build 18G1012, 18G2022, 18G3020 and 18G4032), I only tested it on MBP5,3 which was completely up to date and didn't get the notification from Catalina.
EDIT:
More complicated and also works very well (@bogdanw tested it here: #94), the use of "SoftwareUpdate.framework" extracted from SecUpd2020-002Mojave.pkg (with Pacifist.app).
But beware, it is not complete, all languages translations folders are missing. If you don't want to have Software Updates Prefpane in English only:
So before replacing the framework of your system it is imperative to make a backup in order to be able to recover all the ".lproj" folders, and as long as you do, the "SoftwareUpdate.icns" file and the 4 ".plist" files contained in SoftwareUpdate.framework/Versions/A/Resources/
Of course, after replacing the framework, as we have done until now, we have to use the Terminal command:
Code:
sudo softwareupdate --ignore "macOS Catalina"
REMINDER:
After replacing "SoftwareUpdate.framework" and executing the command "--ignore" above, if you still have the red badge on the System Preferences icon of the Dock, open Terminal and Copy/Paste the following command line and press Enter (you will need the admin password):
Code:
sudo defaults delete /Library/Preferences/com.apple.SoftwareUpdate.plist LastRecommendedMajorOSBundleIdentifier && defaults delete com.apple.preferences.softwareupdate LatestMajorOSSeenByUserBundleIdentifier && defaults write com.apple.systempreferences AttentionPrefBundleIDs 0 && killall Dock
Last edited: