I cloned fuseHFS to my local machine but had to do a few extra steps before getting it to compile in XCode on macOS 13.1. I thought it would best to list them here for future reference or if anyone wants to try to do the same.
First I was getting errors that said "build input file cannot be found". It turns out that hfsutils/hfsutils-master is a git submodule so I had to pull it with the following commands in the terminal after you cd into the fuseHFS directory:
rm -r hfsutils/hfsutils-master
git submodule update --init --recursive
Next I got an error that said write declaration had wrong variable input
in on line 46 of hfsutils/hfsutils-master/libhfs/os/unix.c
from
ssize_t write(int, const char *, size_t);
to
ssize_t write(int, const void *, size_t);
After that I was able to get XCode to compile fuseHFS. Hopefully this information can help others out if they are having trouble. I will test trying to mount a HFS formatted disk and report back on if it worked or not.
I cloned fuseHFS to my local machine but had to do a few extra steps before getting it to compile in XCode on macOS 13.1. I thought it would best to list them here for future reference or if anyone wants to try to do the same.
First I was getting errors that said "build input file cannot be found". It turns out that hfsutils/hfsutils-master is a git submodule so I had to pull it with the following commands in the terminal after you cd into the fuseHFS directory:
Next I got an error that said write declaration had wrong variable input
in on line 46 of hfsutils/hfsutils-master/libhfs/os/unix.c
from
to
After that I was able to get XCode to compile fuseHFS. Hopefully this information can help others out if they are having trouble. I will test trying to mount a HFS formatted disk and report back on if it worked or not.