gpt4 book ai didi

crash - Xcode在界面生成器中意外退出

转载 作者:行者123 更新时间:2023-12-03 17:22:46 25 4
gpt4 key购买 nike

我在Xcode(Cocoa App OSX,Objective-C)中启动了一个新项目。每次我尝试向Interface Builder中的窗口添加按钮(拖放)时,都会收到以下错误,并且Xcode退出。
“无法排除的异常(NSUnknownKeyException):[valueForUndefinedKey:]:此类与键springLoaded的键值编码不兼容。”

优胜美地10.10.3上的Xcode版本6.3(6D570)

任何人都经历过这种行为吗?

崩溃的一部分:

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
ProductBuildVersion: 6D570
UNCAUGHT EXCEPTION (NSUnknownKeyException): [<NSButton 0x7fb46e18f090> valueForUndefinedKey:]: this class is not key value coding-compliant for the key springLoaded.
UserInfo: {
NSTargetObjectUserInfoKey = "<NSButton: 0x7fb46e18f090>";
NSUnknownUserInfoKey = springLoaded;
}
Hints: None
Backtrace:
0 0x00007fff90a4c4f4 __exceptionPreprocess (in CoreFoundation)
1 0x00000001050ee184 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
2 0x00007fff90d1976e objc_exception_throw (in libobjc.A.dylib)
3 0x00007fff90a4c0a9 -[NSException raise] (in CoreFoundation)
4 0x00007fff8dc77d25 -[NSObject(NSKeyValueCoding) valueForUndefinedKey:] (in Foundation)
5 0x00007fff8db4cccb -[NSObject(NSKeyValueCoding) valueForKey:] (in Foundation)

更新:
Xcode现在以某种方式幸免于按钮添加,但是当我尝试保存时,收到此警报:
不幸的是,这发生在Xcode 6.3.1中

最佳答案

终于我从苹果开发论坛得到了答案。

原因是我使用OSX种子构建OS X 10.10.3(14D87h)。

This is new API related to Force Touch trackpads. It was added in OS X 10.10.3, but only in seed builds

关于crash - Xcode在界面生成器中意外退出,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29747736/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com