You can also try to start bitcoin core with -salvagewallet to make it try to recover from a corupted file.
Another option would be to see what pywallet has to say about the file.
Hey, how do i do the -salvagewallet thing?
and is pywallet for mac?
Thx
You need to run bitcoin core via terminal and add the common to it. I have never done this on a Mac so I cant give you an exact step by step, but it should be very similar to linux. Open a terminal, enter
bitcoin-cli -salvagewallet and hit return. You might get an error that bitcoin-cli can not be found, in this case you need to navigate to its directory.
Pywallet is written in python which is also available for MacOS. The commands (step 2-4) given here[1] have to be run via terminal as well.
[1]
https://github.com/jackjack-jj/pywallet