2011-07-13 62 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

相關問題