2011-07-13 88 views
2

我的iPad实际应用程序会导致异常。我尝试在真实设备上运行它。 用于iPad 4.2的模拟器。或4.3。一切都运行完美。对于我的iPhone,它也运行(当然用于iPhone设备)。适用于iPad的iPad应用程序4.2.1不支持

我的部署目标是3.2.2,并开始在iPad上的应用过程中出现了以下异常:

> warning: Unable to read symbols for 
> /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1 
> (8C148)/Symbols/usr/lib/info/dns.so (file not found). 2011-07-13 
> 13:34:59.270 LocationRes[1667:307] *** Terminating app 
> due to uncaught exception 'NSUnknownKeyException', reason: 
> '[<UIApplication 0x130a30> setValue:forUndefinedKey:]: this class is 
> not key value coding-compliant for the key view.' 

我不知道它在Xcode中设置设置错误。 ...我使用的是xCode 4.0.2。

回答

2

在Xcode设置中没有错,您尝试使用KVC,其类别为而不是与KVC兼容。

有关更多信息KCV here

相关问题