简体   繁体   中英

Three20 doesn't compile with Xcode 4.5.2 and Xcode 4.6.2

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'

在此处输入图片说明

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM