Cannot run Unity Remote 3. When clicking Run I receive this error: “iPhoneInputImpl.mm:73:13:{73:15-73:21}: error: assigning to ‘UITouch *’ from incompatible type ‘const UITouch *’ [3]”
I am using Unity Remote 3 on XCode 4.2 with osXLion
Cannot run Unity Remote 3. When clicking Run I receive this error: “iPhoneInputImpl.mm:73:13:{73:15-73:21}: error: assigning to ‘UITouch *’ from incompatible type ‘const UITouch *’ [3]”
I am using Unity Remote 3 on XCode 4.2 with osXLion
If it is the same problem I was experiencing, it is a semantic issue due to invalid typecast. I just replaced
t.native = native;
with:
t.native = (UITouch *) native;
and everything built correctly.
Cheers
==