Setup for Appium with new Mac mini

I have a desktop with appium and Visual Studio. The Appium Tests are on the Desktop and an Android physical device. I recently got a MAC mini to run IOS tests. I want to understand other than x code what needs to be installed on the MAC mini and does the MAC Mini have to have the IOS physical device connected to it when the tests are run for the PC in Visual Studio?