Question

I have a sample project with the help of Three20 framework used. while run on xcode 4.4.1 it works fine.in that same project while run on Xcode 4.5.2 and Xcode 4.6.2 i am getting below error.

some of the errors are :

/three20/src/Three20UI/Sources/UIViewAdditions.m
/three20/src/Three20UI/Sources/UIViewAdditions.m:109:5: Unknown type name '_tapCount'; did you mean 'ItemCount'?
/three20/src/Three20UI/Sources/UIViewAdditions.m:109:15: Expected identifier or '('
/three20/src/Three20UI/Sources/UIViewAdditions.m:110:5: Use of undeclared identifier '_locationInWindow'
/three20/src/Three20UI/Sources/UIViewAdditions.m:111:5: Use of undeclared identifier '_previousLocationInWindow'
/three20/src/Three20UI/Sources/UIViewAdditions.m:113:43: Use of undeclared identifier '_locationInWindow'
/three20/src/Three20UI/Sources/UIViewAdditions.m:114:5: Use of undeclared identifier '_view'; did you mean 'view'?
/three20/src/Three20UI/Sources/UIViewAdditions.m:115:5: Use of undeclared identifier '_window'
/three20/src/Three20UI/Sources/UIViewAdditions.m:116:5: Use of undeclared identifier '_phase'
/three20/src/Three20UI/Sources/UIViewAdditions.m:117:5: Use of undeclared identifier '_touchFlags'
/three20/src/Three20UI/Sources/UIViewAdditions.m:118:5: Use of undeclared identifier '_touchFlags'
/three20/src/Three20UI/Sources/UIViewAdditions.m:119:5: Use of undeclared identifier '_timestamp'
/three20/src/Three20UI/Sources/UIViewAdditions.m:127:3: Use of undeclared identifier '_phase'; did you mean 'phase'?
/three20/src/Three20UI/Sources/UIViewAdditions.m:128:3: Use of undeclared identifier '_timestamp'

enter image description here

Was it helpful?

Solution

If you are running an up-to-date version, you probably have DEBUG_TOUCH defined. Undefine it and the errors should disappear.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top