iphone – NSInternalInconsistencyException无法加载nib包

iphone – NSInternalInconsistencyException无法加载nib包,第1张

概述我创建了一个儿童游戏的应用程序。 它为每个轮次加载12个不同的问题。第四轮之后,应用程序会崩溃:以下日志 ImageIO: CGImageRead_mapData 'open' failed '/var/mobile/Applications/4B0202F9-5961-4AC7-A327-604620AF1F94/test.app/pi_ok.png'         error = 24 ( 我创建了一个儿童游戏的应用程序。

它为每个轮次加载12个不同的问题。第四轮之后,应用程序会崩溃:以下日志

ImageIO: CGImageRead_mapData 'open' Failed '/var/mobile/Applications/4B0202F9-5961-4AC7-A327-604620AF1F94/test.app/pi_ok.png'         error = 24 (Too many open files)2011-03-24 02:26:34.743 [424:707] *** Terminating app due to uncaught exception 'NSInternalinconsistencyException',reason: 'Could not load NIB in bundle: 'NSBundle </var/mobile/Applications/4B0202F9-5961-4AC7-A327-604620AF1F94/VisualMath.app> (loaded)' with name 'themePickerController''*** Call stack at first throw:(    0   CoreFoundation                      0x3182464f __exceptionPreprocess + 114    1   libobjc.A.dylib                     0x3651dc5d objc_exception_throw + 24    2   CoreFoundation                      0x31824491 +[NSException raise:format:arguments:] + 68    3   CoreFoundation                      0x318244cb +[NSException raise:format:] + 34    4   UIKit                               0x330d2a53 -[UINib instantiateWithOwner:options:] + 1110    5   UIKit                               0x330d3e09 -[NSBundle(UINSBundleAdditions) loadNibnamed:owner:options:] + 92    6   UIKit                               0x3304d5e9 -[UIVIEwController _loadVIEwFromNibnamed:bundle:] + 36    7   UIKit                               0x3301afa5 -[UIVIEwController loadVIEw] + 80    8   UIKit                               0x32effebf -[UIVIEwController vIEw] + 30    9   VisualMath                          0x00062875 -[DragTriangleVIEwController hIDethemePicker] + 40    10  VisualMath                          0x0005fe93 -[DragTriangleVIEwController clickDone] + 26    11  CoreFoundation                      0x31794571 -[NSObject(NSObject) performSelector:withObject:withObject:] + 24    12  UIKit                               0x32ee5ec9 -[UIApplication sendAction:to:from:forEvent:] + 84    13  UIKit                               0x32ee5e69 -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 32    14  UIKit                               0x32ee5e3b -[UIControl sendAction:to:forEvent:] + 38    15  UIKit                               0x32ee5b8d -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 356    16  UIKit                               0x32ee6423 -[UIControl touchesEnded:withEvent:] + 342    17  UIKit                               0x32ee4bf5 -[UIWindow _sendtouchesForEvent:] + 368    18  UIKit                               0x32ee456f -[UIWindow sendEvent:] + 262    19  UIKit                               0x32ecd313 -[UIApplication sendEvent:] + 298    20  UIKit                               0x32eccc53 _UIApplicationHandleEvent + 5090    21  GraphiCSServices                    0x32977e77 PurpleEventCallback + 666    22  CoreFoundation                      0x317fba97 __CFRUNLOOP_IS_CALliNG_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 26    23  CoreFoundation                      0x317fd83f __CFRunLoopDoSource1 + 166    24  CoreFoundation                      0x317fe60d __CFRunLoopRun + 520    25  CoreFoundation                      0x3178eec3 CFRunLoopRunspecific + 230    26  CoreFoundation                      0x3178edcb CFRunLoopRunInMode + 58    27  GraphiCSServices                    0x3297741f GSEventRunModal + 114    28  GraphiCSServices                    0x329774cb GSEventRun + 62    29  UIKit                               0x32ef7d69 -[UIApplication _run] + 404    30  UIKit                               0x32ef5807 UIApplicationMain + 670    31  VisualMath                          0x00002207 main + 70    32  VisualMath                          0x000021bc start + 40)

我尝试了许多选择,但没有任何效果;请帮帮我。

解决方法 看起来你正在尝试实例化一个名为themePickerController.nib的笔记本,它不存在。笔尖是否包括项目成员? 总结

以上是内存溢出为你收集整理的iphone – NSInternalInconsistencyException无法加载nib包全部内容,希望文章能够帮你解决iphone – NSInternalInconsistencyException无法加载nib包所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/web/1086680.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-27
下一篇2022-05-27

发表评论

登录后才能评论

评论列表(0条)

    保存