为了账号安全,请及时绑定邮箱和手机立即绑定

5425b686000121a905000215.jpg


程序无法运行。。见图:class AppDelegate ...thread 1 signal sigabrt,求解决

正在回答

7 回答

同求此题目的答案

0 回复 有任何疑惑可以回复我~

不知道你解决了没有,我刚刚也出现类似的问题,发现应该是控件绑定时出错,以为通过删除代码就可以解除。具体解决方法是:找到xcode 右侧的connections inspector -》referencing outlets, 点“X” 就可以删除错误的绑定

1 回复 有任何疑惑可以回复我~
#1

Gannicus_0002

我也是这样导致的
2014-11-04 回复 有任何疑惑可以回复我~
#2

iamocean

我也遇到了,貌似重复绑定导致。
2014-11-09 回复 有任何疑惑可以回复我~

截图中的excetpion:

2014-10-04 22:30:13.813 生肖查询[2470:113035] Unknown class _TtC12生肖查询13ViewControlle in Interface Builder file.

2014-10-04 22:30:13.833 生肖查询[2470:113035] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIViewController 0x7f9ab1d21bc0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key image.'

*** First throw call stack:

(

0   CoreFoundation                      0x0000000109b953e5 __exceptionPreprocess + 165

1   libobjc.A.dylib                     0x000000010b6ab967 objc_exception_throw + 45

2   CoreFoundation                      0x0000000109b95029 -[NSException raise] + 9

3   Foundation                          0x0000000109fad383 -[NSObject(NSKeyValueCoding) setValue:forKey:] + 259

4   CoreFoundation                      0x0000000109adf3f0 -[NSArray makeObjectsPerformSelector:] + 224

5   UIKit                               0x000000010a6e116d -[UINib instantiateWithOwner:options:] + 1506

6   UIKit                               0x000000010a543d78 -[UIViewController _loadViewFromNibNamed:bundle:] + 242

7   UIKit                               0x000000010a544368 -[UIViewController loadView] + 109

8   UIKit                               0x000000010a5445d9 -[UIViewController loadViewIfRequired] + 75

9   UIKit                               0x000000010a544a6e -[UIViewController view] + 27

10  UIKit                               0x000000010a4652b1 -[UIWindow addRootViewControllerViewIfPossible] + 58

11  UIKit                               0x000000010a46564a -[UIWindow _setHidden:forced:] + 276

12  UIKit                               0x000000010a471a81 -[UIWindow makeKeyAndVisible] + 42

13  UIKit                               0x000000010a41c5cd -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 2628

14  UIKit                               0x000000010a41f29c -[UIApplication _runWithMainScene:transitionContext:completion:] + 1350

15  UIKit                               0x000000010a41e168 -[UIApplication workspaceDidEndTransaction:] + 179

16  FrontBoardServices                  0x000000010cf12513 __31-[FBSSerialQueue performAsync:]_block_invoke + 16

17  CoreFoundation                      0x0000000109acaaac __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12

18  CoreFoundation                      0x0000000109ac07f5 __CFRunLoopDoBlocks + 341

19  CoreFoundation                      0x0000000109ac05b5 __CFRunLoopRun + 2389

20  CoreFoundation                      0x0000000109abf9f6 CFRunLoopRunSpecific + 470

21  UIKit                               0x000000010a41dbdf -[UIApplication _run] + 413

22  UIKit                               0x000000010a420990 UIApplicationMain + 1282

23  ÁîüËÇñÊü•ËØ¢                        0x000000010964912e top_level_code + 78

24  ÁîüËÇñÊü•ËØ¢                        0x000000010964916a main + 42

25  libdyld.dylib                       0x000000010bc4d145 start + 1

)

libc++abi.dylib: terminating with uncaught exception of type NSException

(lldb) 


0 回复 有任何疑惑可以回复我~

Jake,我尝试升级到x code 6 beta6,按教程中步骤操作,出现的第一个问题是:当我插入一个TextField控件后,在Keyboard Type选择了: Number pad,尝试运行了程序,报错了:

2014-10-04 22:17:25.758 生肖查询[2254:107543] Can't find keyplane that supports type 4 for keyboard iPhone-Portrait-NumberPad; using 3876877096_Portrait_iPhone-Simple-Pad_Default

,求解决

0 回复 有任何疑惑可以回复我~

就是在debug view的右边。

0 回复 有任何疑惑可以回复我~
#1

IamZG 提问者

2014-10-04 22:30:13.813 生肖查询[2470:113035] Unknown class _TtC12生肖查询13ViewControlle in Interface Builder file. 2014-10-04 22:30:13.833 生肖查询[2470:113035] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIViewController 0x7f9ab1d21bc0> setValue:forUndefinedKey:]: this c
2014-10-04 回复 有任何疑惑可以回复我~

请把excetpion贴上来看看

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
使用Swift开发iOS8 App实战
  • 参与学习       62627    人
  • 解答问题       541    个

通过苹果最新Swift语言开发iOSApp,从零开始学习iOS的开发

进入课程
意见反馈 帮助中心 APP下载
官方微信