我是操作系统开发的新手,我尝试运行应用程序但出现错误
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_MMPDeepSleepPreventer", referenced from:
objc-class-ref in vista.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
这是问题的线
self.timer = [[MMPDeepSleepPreventer alloc] init];
我试图运行这个例子
http://blog.marcopeluso.com/2009/08/23/how-to-prevent-iphone-from-deep-sleeping/