Parallel execution on MAC for iOS and android

Hi All,

I need to execute test on iOS and android parallel.
I am using TestNG. Can someone please help me with solution.

in testng file parallel=class/test
and also use selenium grid for parallel execution by registering
android and ios as a node on grid hub and then execute using
RemoteWebDriver class instead of AppiumDriver or IOSDriver class

You should still be able to use AppiumDriver if using java. You just point to the selenium grid hub url instead of a local appium server.