运行Tapku演示项目时出错

时间:2012-12-03 17:10:36

标签: calendar simulator demo tapku

我尝试运行从以下位置下载的TapKu iOS演示项目: https://github.com/devinross/tapkulibrary/branches

我构建没有错误但是当它被安装在模拟器上时,我收到此错误消息:

[AppDelegate_iPhone window]: unrecognized selector sent to instance 0x9b7ad90
2012-12-03 17:05:13.478 unviersaldemo[94132:13d03] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[AppDelegate_iPhone window]: unrecognized selector sent to instance 0x9b7ad90'
*** First throw call stack:
(0x1a44012 0x1429e7e 0x1acf4bd 0x143d7ea 0x1a33cf9 0x1a3394e 0x3da78 0x2bcc 0x4807b7 0x480da7 0x481fab 0x493315 0x49424b 0x485cf8 0x237fdf9 0x237fad0 0x19b9bf5 0x19b9962 0x19eabb6 0x19e9f44 0x19e9e1b 0x4817da 0x48365c 0x2b36 0x2925 0x1)
libc++abi.dylib: terminate called throwing an exception
(lldb)

有什么想法吗?

1 个答案:

答案 0 :(得分:2)

我刚补充说:

@interface AppDelegate_iPhone : TKAppDelegate <UIApplicationDelegate> {   
    UIWindow *window;
}

@property (nonatomic, retain) UIWindow *window;
AppDelegate_iPhone.h文件中的

@synthesize window;
AppDelegate_iPhone.m文件中的

。 适合我。