Game Development Community

'oniPhoneTouchTap: Unknown command' When running demo application?

by Trevor Bosaw · in iTorque 2D · 10/09/2011 (2:43 pm) · 2 replies

After doing quite a bit of work in torque 2D, I'm now trying to implement what I have so far on an iOS platform. First thing I've tried is to build a couple of the example applications in Xcode, and while it successfully builds and loads on my iPhone, whenever I try to tap anything on the screen, nothing happens, and the console on Xcode outputs the 'oniPhoneTouchTap: Unknown command' warning. I've tested both the FeatureDemo and RainyDay applications with the same results (I'm using iTorque 1.5, and Xcode 4.2).

Is this a common problem, and if so, would any of you know the steps I should take to fix this?

#1
10/09/2011 (3:42 pm)
Make sure you have ran the game from the editor first to generate the dsos. The demos are behavior driven and dsos are required now for behaviors on the device. I also recommend cleaning the iOS project as well.
#2
10/09/2011 (4:34 pm)
Perfect, running the application in the editor first fixed the issue,

Thanks!