I have installed XAMPP for macOS Sierra.
I have one icon in application for XAMPP.
I am able to run the server & it\'s services but I am not able to find the
/Applications/XAMPP/xamppfiles
That's where you will find htdocs.
I found out that the NEW xampp has file explorer link on it click it and boooooooooom htdocs is there
Delete the xampp.app, download the new one(I use 5.6.31 php ver) then reinstall it.
In other to locate the right and active htdocs
directory of your XAMPP for macOS Sierra, follow the three steps below;
From the resulting window, you can easily locate your htdocs
folder.
More details available here.
The new version of XAMPP uses a VM for its content, you need to mount the Volume to access htdocs.
More info about differences between old XAMPP and XAMPP-VM: XAMPP-VM for Mac
I was able to find the htdocs directory. On mac,Under volume tab there is button called 'explore' from there there is the directory.