我正在使用以前的开发人员的应用程序,但是当我编译它时,ig在UIResponder.h和UIEvent.h上显示5个错误
错误1:
file / Developer / Platforms / iPhoneOS.platform / Developer / SDKs / iPhoneOS3.2.sdk / System / Library / Frameworks / UIKit.framework / Headers / UIEvent.h:38:0 /Developer/Platforms/iPhoneOS.platform /Developer/SDKs/iPhoneOS3.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h:38:错误:预期':'之前';'令牌
误差2:
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:15:0 /Developer/Platforms/iPhoneOS.platform/开发人员/ SDKs / iPhoneOS3.2.sdk /系统/库/框架/ UIKit.framework / Headers / UIResponder.h:15:错误:预期')'在'UIResponder'之前
错误3:
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:17:0 /Developer/Platforms/iPhoneOS.platform/ Developer / SDKs / iPhoneOS3.2.sdk / System / Library / Frameworks / UIKit.framework / Headers / UIResponder.h:17:错误:预期'{'之前' - '令牌
error4:
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:42:0 /Developer/Platforms/iPhoneOS.platform/ Developer / SDKs / iPhoneOS3.2.sdk / System / Library / Frameworks / UIKit.framework / Headers / UIResponder.h:42:警告:'@ end'必须出现在@implementation上下文中
error5:
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h:58:0 /Developer/Platforms/iPhoneOS.platform/ Developer / SDKs / iPhoneOS3.2.sdk / System / Library / Frameworks / UIKit.framework / Headers / UIResponder.h:58:错误:找不到'UIResponder'的接口声明
请帮助我,我坚持这个时间。
答案 0 :(得分:1)
尝试从库中删除所有链接的框架和链接。
答案 1 :(得分:1)
检查您正在安装应用程序的iPhone OS版本。检查目标并根据需要更改基本sdk和部署sdk。并尝试
此致
萨蒂亚
答案 2 :(得分:0)
删除应用程序中使用的所有框架。添加所有框架并执行应用程序的完整构建。这可能有所帮助。