Safari: WebBookmarkLeaf enumerateChildrenUsingBlock:]: unrecognized selector sent to instance [SOLUTION]

Hi @all, it’s been a while ago of my last entry. Today I would want to share a solution to a very weird problem I had with Safari when restored a brand new MacBook from a time machine backup.

If you are seeing this report every time you try to launch Safari and this closes itself, prepare this is the solution.

Solution

Just remove the Bookmarks.plist  file at ~/Library/Safari (rm ~/Library/Safari/Bookmarks.plist)

Open Safari again, and it’ll sync the Bookmarks again but this time it won’t close itself! 😉

Seems that some Bookmarks generate a problem with memory allocation, that can be easily fixed by removing them all locally, anyways the majority of us have them in sync with iCloud or similar, if you don’t, sorry, you’ll have to get the Bookmarks you need from the plist file and add them again to Safari.

Good luck and I hope it helps!

It took me a couple of days to figure this out! 🙁