I have this problem since Sierra, but it's annoying lately. I removed Photos, News, Siri etc. apps from the dock. But When I restart my mac they keep coming back. What should I do? any suggestion to fix this?
Nope. That's not my issueI don't know if this will work, but might be worth trying to restore the dock to the defaults and then remove the apps from it. https://www.defaults-write.com/reset-mac-dock-default/
They come back after the restart even though I deleted them from the dock.Does your dock restore to defaults when you restart?
What I am asking is: Do icons for any NON-macOS apps that you add to the dock, then disappear from the dock after a restart?
Right, I know that article isn't about your issue. I probably should have explained it. If your defaults are coming back after restart, maybe something is corrupted with your dock settings file. So I was curious if deleting the settings would regenerate a correct one where you could remove the icons and have the change persist. Not sure if you tried that or not anyway. DeltaMac has a great question too. Do 3rd party apps stay in the dock after restart, or are they removed?Nope. That's not my issue
It is Recent Apps. Turn it off from System Preferences > Dock.
Just to a clean install dude
Right, I know that article isn't about your issue. I probably should have explained it. If your defaults are coming back after restart, maybe something is corrupted with your dock settings file. So I was curious if deleting the settings would regenerate a correct one where you could remove the icons and have the change persist. Not sure if you tried that or not anyway. DeltaMac has a great question too. Do 3rd party apps stay in the dock after restart, or are they removed?
Could it be iCloud sync? Desktop, Documents... even System Preferences are iCloud tied by default...
Same question (from post #7 above) -
If you add (non-Apple/third party app) icons to your dock, do those new icons also disappear from your dock after you restart?
Another way to ask this: Does your dock return to original defaults every time you restart?