<i id='ywLHA'><tr id='ywLHA'><dt id='ywLHA'><q id='ywLHA'><span id='ywLHA'><b id='ywLHA'><form id='ywLHA'><ins id='ywLHA'></ins><ul id='ywLHA'></ul><sub id='ywLHA'></sub></form><legend id='ywLHA'></legend><bdo id='ywLHA'><pre id='ywLHA'><center id='ywLHA'></center></pre></bdo></b><th id='ywLHA'></th></span></q></dt></tr></i><div id='ywLHA'><tfoot id='ywLHA'></tfoot><dl id='ywLHA'><fieldset id='ywLHA'></fieldset></dl></div>
    • <bdo id='ywLHA'></bdo><ul id='ywLHA'></ul>

    <small id='ywLHA'></small><noframes id='ywLHA'>

        <legend id='ywLHA'><style id='ywLHA'><dir id='ywLHA'><q id='ywLHA'></q></dir></style></legend>

      1. <tfoot id='ywLHA'></tfoot>
      2. Xcode 4.5 故事板崩溃

        时间:2023-09-11
          <bdo id='dj6Ac'></bdo><ul id='dj6Ac'></ul>

          1. <legend id='dj6Ac'><style id='dj6Ac'><dir id='dj6Ac'><q id='dj6Ac'></q></dir></style></legend>

              <tbody id='dj6Ac'></tbody>
            <i id='dj6Ac'><tr id='dj6Ac'><dt id='dj6Ac'><q id='dj6Ac'><span id='dj6Ac'><b id='dj6Ac'><form id='dj6Ac'><ins id='dj6Ac'></ins><ul id='dj6Ac'></ul><sub id='dj6Ac'></sub></form><legend id='dj6Ac'></legend><bdo id='dj6Ac'><pre id='dj6Ac'><center id='dj6Ac'></center></pre></bdo></b><th id='dj6Ac'></th></span></q></dt></tr></i><div id='dj6Ac'><tfoot id='dj6Ac'></tfoot><dl id='dj6Ac'><fieldset id='dj6Ac'></fieldset></dl></div>

            <small id='dj6Ac'></small><noframes id='dj6Ac'>

                • <tfoot id='dj6Ac'></tfoot>

                  本文介绍了Xcode 4.5 故事板崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  当我尝试在情节提要中编辑 UILabel 时,Xcode 经常崩溃.有什么想法可能导致这种情况吗?看起来它与自动布局约束之一有关.这是错误报告:

                  Very often when I try to edit UILabels in storyboard, Xcode is crashing. Any ideas what could be causing this? It looks like it has something to do with one of the autolayout constraints. Here's the error report:

                  Process:         Xcode [43938]
                  Path:            /Applications/Xcode.app/Contents/MacOS/Xcode
                  Identifier:      com.apple.dt.Xcode
                  Version:         4.5 (1839)
                  Build Info:      IDEApplication-1839000000000000~3
                  App Item ID:     497799835
                  App External ID: 10747437
                  Code Type:       X86-64 (Native)
                  Parent Process:  launchd [43283]
                  
                  Date/Time:       2012-10-01 09:43:36.443 -0400
                  OS Version:      Mac OS X 10.7.4 (11E53)
                  Report Version:  9
                  Sleep/Wake UUID: 8C7C93A7-0BEF-42C6-944C-488D8C7896DD
                  
                  Interval Since Last Report:          152594 sec
                  Crashes Since Last Report:           6
                  Per-App Interval Since Last Report:  135715 sec
                  Per-App Crashes Since Last Report:   5
                  Anonymous UUID:                      E745D8FE-362B-4FD2-8594-7EC5C26767B2
                  
                  Crashed Thread:  0  Dispatch queue: com.apple.main-thread
                  
                  Exception Type:  EXC_CRASH (SIGABRT)
                  Exception Codes: 0x0000000000000000, 0x0000000000000000
                  
                  Application Specific Information:
                  ProductBuildVersion: 4G182
                  ASSERTION FAILURE in /SourceCache/IDEInterfaceBuilderCocoaTouch/IDEInterfaceBuilderCocoaTouch-1926/IBPlugin/Utilities/IBObjectMarshalling.m:651
                  Details:  Failed to start deciding frames for IBNSLayoutConstraint, IBUILabel, IBUITabBarItem, IBUITableView, IBUIView, and IBUIViewController.
                  
                  Interface Builder encountered an error communicating with the iOS Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.
                  
                  Exception name: IBAssertionFailure
                  Exception reason: ASSERTION FAILURE: realConstraint
                  Reason:     Should have found real constraint for represented constraint <NSLayoutConstraint:0x86a8c30 H:[UIView:0x868a0f0(71)]>
                  File:       /SourceCache/IBAutolayoutFoundationIOS/IBAutolayoutFoundation-1818/Framework/Classes/Arbitration/IBAutolayoutEngine.m:223
                  Method:     __76-[IBAutolayoutEngine realConstraintsFromCollectionOfRepresentedConstraints:]_block_invoke_0
                  Exception backtrace: 
                    0. CoreFoundation           0x022a4012 __exceptionPreprocess
                    1. libobjc.A.dylib          0x01703e7e objc_exception_throw
                    2. CoreFoundation           0x0232cfb1 -[NSException raise]
                    3. ???                      0x0000beae [IBCocoaTouchTool startAutolayoutFrameDecisionSessionWithRequest:document:]
                    4. ???                      0x000342a5 [IBMessageReceiveChannel deliverMessage:toTarget:withArguments:result:]
                    5. ???                      0x00033fa9 [IBMessageReceiveChannel deliverMessage:toTarget:withArguments:result:]
                    6. ???                      0x00033c47 [IBMessageReceiveChannel runBlockingReceiveLoopNotifyingQueue:notifyingTarget:]
                    7. libdispatch.dylib        0x04c3d731 _dispatch_barrier_sync_f_slow_invoke
                    8. libdispatch.dylib        0x04c4c014 _dispatch_client_callout
                    9. libdispatch.dylib        0x04c3c7d5 _dispatch_main_queue_callback_4CF
                   10. CoreFoundation           0x0224aaf5 __CFRunLoopRun
                   11. CoreFoundation           0x02249f44 CFRunLoopRunSpecific
                   12. CoreFoundation           0x02249e1b CFRunLoopRunInMode
                   13. Foundation               0x01308c7c -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
                   14. ???                      0x0000cf06 [IBCocoaTouchTool startServingReceiveChannel:]
                   15. ???                      0x0000d09f [IBCocoaTouchTool startServingWithSocket:]
                   16. ???                      0x0000e1b7 [IBCocoaTouchTool .cxx_destruct]
                   17. ???                      0x00002365 ???
                  Exception info:{
                  }
                  

                  推荐答案

                  我也有同样的问题……在带有圆角矩形按钮"的情节提要中工作时,它崩溃了.有时只有一两个按钮,有时我可以添加十个按钮,然后它就崩溃了.

                  I have the same problem… when working in a storyboard with "Rounded Rect Buttons" it crashes. Sometimes with one or two buttons, sometimes I can add ten buttons and then it crashes.

                  经过一些实验后,我在情节提要的文件检查器"中取消选中使用自动布局"并且它可以工作.也许你会试一试.

                  After some experiments I have unchecked "Use Autolayout" in the "File Inspector" of the Storyboard and it works. Maybe you'll give it a try.

                  这篇关于Xcode 4.5 故事板崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:iOS 6 Beta 中的自动布局 下一篇:在 Xcode 6 中使用 AutoLayout 约束模拟切面匹配行为

                  相关文章

                  1. <legend id='mMN2E'><style id='mMN2E'><dir id='mMN2E'><q id='mMN2E'></q></dir></style></legend>
                  2. <i id='mMN2E'><tr id='mMN2E'><dt id='mMN2E'><q id='mMN2E'><span id='mMN2E'><b id='mMN2E'><form id='mMN2E'><ins id='mMN2E'></ins><ul id='mMN2E'></ul><sub id='mMN2E'></sub></form><legend id='mMN2E'></legend><bdo id='mMN2E'><pre id='mMN2E'><center id='mMN2E'></center></pre></bdo></b><th id='mMN2E'></th></span></q></dt></tr></i><div id='mMN2E'><tfoot id='mMN2E'></tfoot><dl id='mMN2E'><fieldset id='mMN2E'></fieldset></dl></div>
                  3. <tfoot id='mMN2E'></tfoot>

                      <bdo id='mMN2E'></bdo><ul id='mMN2E'></ul>
                    1. <small id='mMN2E'></small><noframes id='mMN2E'>