I haven't built/ran anything on a Mac in quite some time, but I can tell you this isn't just a D issue. You'll need to either make sure the libraries or frameworks get installed to the correct path in your friend's computer or include them directly with your executable and have them load when you run it. It should be the exact same process as it would be with the C++ version. If you do a search for that I'm sure you'll find the right information. I only have one Mac machine so I haven't had to try getting a build to work on other Macs.