I am looking for any kind tips or libraries that would allow me to mount an SMB share from within Swift. I looked into AMSMB2, but it doesn't actually mount the share, it just connects to it. I have also looked into invoking a bash script from Swift that uses mount_smbfs, which has been closest to what I need.
The NetFS library does seem to have the matching functionality, but I can't find any documentation for it provided by Apple. I tried to wing it without any documentation, but the functions aren't very verbal about what is wrong, which is why I'm seeing if there is anything else out there.
Has anyone every tried using SMB with a Swift application?