小编Ahm*_*uri的帖子

无法解码类的对象(AMPathPopUpButton)'

我是新手Swift,我正在使用xCode 6 Beta 5.我的问题是我收到了编译错误:

"由于未捕获的异常'NSInvalidUnarchiveOperationException'终止应用程序,原因:' * - [NSKeyedUnarchiver decodeObjectForKey:]:无法解码类的对象(AMPathPopUpButton)'"

添加AMPathPopUpButton到我的应用程序UI时.任何人都可以帮忙?

2014-08-17 22:17:39.285 FileSize[6633:303] An uncaught exception was raised
2014-08-17 22:17:39.286 FileSize[6633:303] *** -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class (AMPathPopUpButton)
2014-08-17 22:17:39.286 FileSize[6633:303] (
    0   CoreFoundation                      0x00007fff8f33025c __exceptionPreprocess + 172
    1   libobjc.A.dylib                     0x00007fff93c06e75 objc_exception_throw + 43
    2   CoreFoundation                      0x00007fff8f33010c +[NSException raise:format:] + 204
    3   Foundation                          0x00007fff97fe0dd9 _decodeObjectBinary + 2349
    4   Foundation                          0x00007fff97fe1f9f -[NSKeyedUnarchiver _decodeArrayOfObjectsForKey:] + 1774
    5   Foundation                          0x00007fff97fe219b -[NSArray(NSArray) initWithCoder:] + 202
    6 …
Run Code Online (Sandbox Code Playgroud)

swift xcode6

4
推荐指数
1
解决办法
1144
查看次数

标签 统计

swift ×1

xcode6 ×1