Friday, 13 April 2012

Unity: How to test iOS Unity Apps without using Xcode

Xcode is slow when building Unity iOS apps. It is not a good option for testing Unity iOS apps since it could take several minutes to build the app.

You cannot use the Game panel in Unity to test iOS apps which handles touch events because the Game panel does not emulate touch event with mouse. If you use the Game panel, Input.TouchCount is always zero since there is no touch events.

You need to use Unity Remote to test Unity iOS apps. It is a iOS app which can be downloaded from Apple App Store freely and installed on your iOS devices. Before testing your app, connect your iOS device to your Mac, then run Unity Remote on your iOS device and select your Mac machine. In Unity, run your app, the Game panel will stream video display to Unity Remote and Unity Remote will pass touch events from your iOS device to the Game panel. This way you can test your Unity iOS app with all the iOS events.

No comments:

Post a Comment