ios – Xcode 6.3更新导致ide冻结,需要强制退出

前端之家收集整理的这篇文章主要介绍了ios – Xcode 6.3更新导致ide冻结,需要强制退出前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我刚刚更新 Xcode到新的6.3版本,我有问题.每当我从我的MainStoryboard从Interface Builder进入任何代码文件,我得到加载进度,应用程序被冻结.我不能做任何事情,我必须使用强制退出退出Xcode并再次运行,但我遇到同样的问题.它只是我的一个应用程序,其他人都可以,Xcode正常工作.我不知道是什么问题.问题应用程序在故事板中有许多视图,但其他我的应用程序也是.它很快,但我尝试了一些其他示例项目,没有问题.

我真的想解决这个问题,所以我强行退出后,先从信息中取几行:

  1. Date/Time: 2015-04-10 14:10:12 +0200
  2. OS Version: 10.10.3 (Build 14D131)
  3. Architecture: x86_64
  4. Report Version: 21
  5.  
  6. Command: Xcode
  7. Path: /Applications/Xcode.app/Contents/MacOS/Xcode
  8. Version: 6.3 (7569)
  9. Build Version: 2
  10. Project Name: IDEFrameworks
  11. Source Version: 7569000000000000
  12. Parent: launchd [1]
  13. PID: 594
  14.  
  15. Event: hang
  16. Duration: 1.10s (process was unresponsive for 320 seconds before sampling)
  17. Steps: 12 (100ms sampling interval)
  18.  
  19. Hardware model: MacBookPro10,2
  20. Active cpus: 4
  21.  
  22. Fan speed: 2162 rpm
  23.  
  24. --------------------------------------------------
  25. Timeline format: stacks are sorted chronologically
  26. Use -i and -heavy to re-report with count sorting
  27. --------------------------------------------------
  28.  
  29. Heaviest stack for the main thread of the target process:
  30. 12 start + 1 (libdyld.dylib + 13769) [0x7fff8b86b5c9]
  31. 12 NSApplicationMain + 1832 (AppKit + 13140) [0x7fff9947f354]
  32. 12 -[NSApplication run] + 594 (AppKit + 551923) [0x7fff99502bf3]
  33. 12 ??? (<2D862ACB-D0E0-3846-A777-5B2C3034C408> + 1318362) [0x110276dda]
  34. 12 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346 (AppKit + 593768) [0x7fff9950cf68]
  35. 12 _DPSNextEvent + 978 (AppKit + 596411) [0x7fff9950d9bb]
  36. 12 _BlockUntilNextEventMatchingListInModeWithFilter + 71 (HIToolBox + 205099) [0x7fff910e812b]
  37. 12 ReceiveNextEventCommon + 431 (HIToolBox + 205546) [0x7fff910e82ea]
  38. 12 RunCurrentEventLoopInMode + 235 (HIToolBox + 206191) [0x7fff910e856f]
  39. 12 CFRunLoopRunSpecific + 296 (CoreFoundation + 465880) [0x7fff8f2d7bd8]
  40. 12 __CFRunLoopRun + 2024 (CoreFoundation + 468488) [0x7fff8f2d8608]
  41. 12 __CFRunLoopDoTimers + 301 (CoreFoundation + 1221949) [0x7fff8f39053d]
  42. 12 __CFRunLoopDoTimer + 1059 (CoreFoundation + 749427) [0x7fff8f31cf73]
  43. 12 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20 (CoreFoundation + 750308) [0x7fff8f31d2e4]
  44. 12 __NSFireDelayedPerform + 364 (Foundation + 308251) [0x7fff9883b41b]
  45. 12 ??? (<053704CD-4B33-3C59-915F-0979F48157F0> + 844193) [0x110e221a1]
  46. 12 ??? (<053704CD-4B33-3C59-915F-0979F48157F0> + 845367) [0x110e22637]
  47. 12 ??? (<053704CD-4B33-3C59-915F-0979F48157F0> + 847265) [0x110e22da1]
  48. 12 ??? (<053704CD-4B33-3C59-915F-0979F48157F0> + 2337454) [0x110f8eaae]
  49. 12 ??? (<053704CD-4B33-3C59-915F-0979F48157F0> + 847466) [0x110e22e6a]
  50. 12 ??? (<053704CD-4B33-3C59-915F-0979F48157F0> + 847855) [0x110e22fef]
  51. 12 ??? (<053704CD-4B33-3C59-915F-0979F48157F0> + 848146) [0x110e23112]
  52. 12 ??? (<053704CD-4B33-3C59-915F-0979F48157F0> + 848562) [0x110e232b2]
  53. 12 ??? (<053704CD-4B33-3C59-915F-0979F48157F0> + 850427) [0x110e239fb]
  54. 12 ??? (<053704CD-4B33-3C59-915F-0979F48157F0> + 2115290) [0x110f586da]
  55. 12 ??? (<053704CD-4B33-3C59-915F-0979F48157F0> + 571839) [0x110ddf9bf]
  56. 12 ??? (<053704CD-4B33-3C59-915F-0979F48157F0> + 361406) [0x110dac3be]
  57. 12 ??? (<053704CD-4B33-3C59-915F-0979F48157F0> + 361754) [0x110dac51a]
  58. 12 ??? (<053704CD-4B33-3C59-915F-0979F48157F0> + 2108389) [0x110f56be5]
  59. 12 ??? (<053704CD-4B33-3C59-915F-0979F48157F0> + 2101698) [0x110f551c2]
  60. 12 -[NSView removeFromSuperviewWithoutNeedingDisplay] + 38 (AppKit + 1359529) [0x7fff995c7ea9]
  61. 12 -[NSView removeFromSuperview] + 435 (AppKit + 438399) [0x7fff994e707f]
  62. 12 -[NSView _setSuperview:] + 675 (AppKit + 259352) [0x7fff994bb518]
  63. 12 ??? (<2D862ACB-D0E0-3846-A777-5B2C3034C408> + 108788) [0x11014f8f4]
  64. 12 ??? (<2D862ACB-D0E0-3846-A777-5B2C3034C408> + 289845) [0x11017bc35]
  65. 12 ??? (<2D862ACB-D0E0-3846-A777-5B2C3034C408> + 2318676) [0x11036b154]
  66. 12 ??? (<F77F04E0-7640-3115-8245-6052DFF052E0> + 3633286) [0x11a70c086]
  67. 12 ??? (<F77F04E0-7640-3115-8245-6052DFF052E0> + 56886) [0x11a3a2e36]
  68. 12 ??? (<F77F04E0-7640-3115-8245-6052DFF052E0> + 1194480) [0x11a4b89f0]
  69. 12 ??? (<F77F04E0-7640-3115-8245-6052DFF052E0> + 1193538) [0x11a4b8642]
  70. 12 ??? (<F77F04E0-7640-3115-8245-6052DFF052E0> + 1199009) [0x11a4b9ba1]
  71. 12 ??? (<F77F04E0-7640-3115-8245-6052DFF052E0> + 1344856) [0x11a4dd558]
  72. 12 ??? (<0AC21504-55BC-3F11-BE13-5E0FEC1759C1> + 209920) [0x11fdd4400]
  73. 12 ??? (<0AC21504-55BC-3F11-BE13-5E0FEC1759C1> + 249917) [0x11fdde03d]
  74. 12 ??? (<0AC21504-55BC-3F11-BE13-5E0FEC1759C1> + 246203) [0x11fddd1bb]
  75. 12 ??? (<F77F04E0-7640-3115-8245-6052DFF052E0> + 868598) [0x11a4690f6]
  76. 12 ??? (<0AC21504-55BC-3F11-BE13-5E0FEC1759C1> + 246373) [0x11fddd265]
  77. 12 ??? (<0AC21504-55BC-3F11-BE13-5E0FEC1759C1> + 250364) [0x11fdde1fc]
  78. 12 ??? (<F77F04E0-7640-3115-8245-6052DFF052E0> + 2629753) [0x11a617079]
  79. 12 _dispatch_barrier_sync_f_slow + 597 (libdispatch.dylib + 46423) [0x7fff8ebdf557]
  80. 12 semaphore_wait_trap + 10 (libsystem_kernel.dylib + 70938) [0x7fff935de51a]
  81. *12 semaphore_wait_continue + 0 (kernel + 1357760) [0xffffff800034b7c0]
  82.  
  83.  
  84. Process: Xcode [594]
  85. Path: /Applications/Xcode.app/Contents/MacOS/Xcode
  86. Architecture: x86_64
  87. Parent: launchd [1]
  88. UID: 501
  89. Sudden Term: Dirty
  90. Task size: 71539 pages
  91. cpu Time: 0.005s
  92. Note: Unresponsive for 320 seconds before sampling
  93. Note: 2 idle work queue threads omitted
  94.  
  95. Thread 0x6341 DispatchQueue 1 12 samples (1-12) priority 47
  96. <frontmost,thread QoS user interactive,boosted,received importance donation from WindowServer [142],IO policy important>
  97. 12 start + 1 (libdyld.dylib + 13769) [0x7fff8b86b5c9] 1-12
  98. 12 NSApplicationMain + 1832 (AppKit + 13140) [0x7fff9947f354] 1-12
  99. 12 -[NSApplication run] + 594 (AppKit + 551923) [0x7fff99502bf3] 1-12
  100. 12 ??? (<2D862ACB-D0E0-3846-A777-5B2C3034C408> + 1318362) [0x110276dda] 1-12
  101. 12 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346 (AppKit + 593768) [0x7fff9950cf68] 1-12
  102. 12 _DPSNextEvent + 978 (AppKit + 596411) [0x7fff9950d9bb] 1-12
  103. 12 _BlockUntilNextEventMatchingListInModeWithFilter + 71 (HIToolBox + 205099) [0x7fff910e812b] 1-12
  104. 12 ReceiveNextEventCommon + 431 (HIToolBox + 205546) [0x7fff910e82ea] 1-12
  105. 12 RunCurrentEventLoopInMode + 235 (HIToolBox + 206191) [0x7fff910e856f] 1-12
  106. 12 CFRunLoopRunSpecific + 296 (CoreFoundation + 465880) [0x7fff8f2d7bd8] 1-12
  107. 12 __CFRunLoopRun + 2024 (CoreFoundation + 468488) [0x7fff8f2d8608] 1-12
  108. 12 __CFRunLoopDoTimers + 301 (CoreFoundation + 1221949) [0x7fff8f39053d] 1-12
  109. 12 __CFRunLoopDoTimer + 1059 (CoreFoundation + 749427) [0x7fff8f31cf73] 1-12
  110. 12 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20 (CoreFoundation + 750308)

有没有办法解决这个问题?或者也许一些帮助我的技巧?谢谢

解决方法

感谢Carrl,我发现另一个 question with similar problem(区别在于我试图从IB获得Xcode的冻结),它帮助我.正如其他问题,我真的使用@IBDesignable标签自定义视图,在某些情况下,我使用自定义字体.

所以我的解决方

首先我删除Project.xcworkspace中的文件夹xcuserdata,然后我能够运行项目并搜索具有@IBDesignable标记文件,并将其删除.现在看起来它是有效的.

猜你在找的iOS相关文章