Appium Work
Sample Project For Using Appium. Install Appium.io for using appium server Install Maven, Java, Android Sdk tools
For MAC look at config repository for installing java, maven etc To set up IOS Simulator for appium look here: https://gopekannan.wordpress.com/2015/08/31/how-to-setup-and-automate-ios-mobile-application-using-appium-in-mac/
For building to .app(Explained in previous link)
xcodebuild -sdk iphonesimulator8.4
To Use Appium UI Install from here http://appium.io