使用断点调试时 Xcode 7.3 崩溃

标签 xcode xcode7 xcode8

我刚刚安装了Xcode 7.3版本。我根本无法调试,因为当我在调试时尝试使用断点时,它会崩溃。我尝试删除 Derive Data、重新启动我的 MacBook、重新安装 Pod...但不幸的是没有任何效果。有人有同样的问题吗?

Process: Xcode [2631] Path: /Applications/Xcode.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 7.3 (10183.3) Build Info: IDEFrameworks-10183003000000000~2 App Item ID: 497799835 App External ID: 816750016 Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: Xcode [2631] User ID: 502

Date/Time: 2016-03-22 17:35:16.678 +0000 OS Version: Mac OS X 10.11.4 (15E65) Report Version: 11 Anonymous UUID: 352BCE12-8AEF-A28A-B5F1-214B55269668

Time Awake Since Boot: 2500 seconds

System Integrity Protection: enabled

Crashed Thread: 30 Dispatch queue: DVTInvalidationPreventionQueue

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY

VM Regions Near 0: --> __TEXT 00000001021a4000-00000001021a8000 [ 16K] r-x/rwx SM=COW /Applications/Xcode.app/Contents/MacOS/Xcode

Application Specific Information: ProductBuildVersion: 7D175

Global Trace Buffer (reverse chronological seconds): 14.418349 DTXConnectionServices 0x000000010454fc3a initiating channel x1.c2 capability 642d65677561672d 766f72702d617461 654e2e7372656469 6174536b726f7774 0073636974736974 14.419261 DTXConnectionServices 0x000000010454fc3a initiating channel x1.c1 capability 756265642e65646f 2d65677561672d67 6f72702d61746164 702e737265646976 006f666e69636f72 71.740178 CFNetwork 0x00007fff8d398447 TCP Conn 0x7fe21e691b50 SSL Handshake DONE 72.390183 CFNetwork 0x00007fff8d398323 TCP Conn 0x7fe21e691b50 starting SSL negotiation 72.390333 CFNetwork 0x00007fff8d396ced TCP Conn 0x7fe21e691b50 complete. fd: 50, err: 0 72.390574 CFNetwork 0x00007fff8d4255c7 TCP Conn 0x7fe21e691b50 event 1. err: 0 72.582281 CFNetwork 0x00007fff8d395fbf TCP Conn 0x7fe21e691b50 started 72.628957 CFNetwork 0x00007fff8d359c42 Creating default cookie storage with process/bundle identifier 72.628957 CFNetwork 0x00007fff8d359bda Faulting in CFHTTPCookieStorage singleton 72.628976 CFNetwork 0x00007fff8d359a69 Faulting in NSHTTPCookieStorage singleton 72.650686 CFNetwork 0x00007fff8d457510 NSURLConnection finished with error - code -1100

Crashed Thread: 30 Dispatch queue: DVTInvalidationPreventionQueue

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY

Thread 30 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x0000700003900628 rcx: 0x0000700003900338 rdx: 0x00007fe225f6d940 rdi: 0x0000700003900338 rsi: 0x000000000000003e rbp: 0x00007000039005f0 rsp: 0x00007000039003f0 r8: 0x0000000000000000 r9: 0x00007fe215375800 r10: 0xf6c0d10bcec3bd6e r11: 0x00007fe214fa1000 r12: 0x0000700003900628 r13: 0x0000000000000000 r14: 0x0000000000000001 r15: 0x00007fe215375800 rip: 0x000000010e3ae917 rfl: 0x0000000000000246 cr2: 0x0000000000000000

最佳答案

为我解决这个问题的方法是将“build设置”中的“启用 Clang 模块调试”设置为“否”。

关于使用断点调试时 Xcode 7.3 崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36161040/

相关文章:

ios - 在表格 View 单元格中添加自动布局约束。

iphone - 媒体播放器框架 iOS SDK

ios - 切换到 XCode 7.0(.1) 后,自定义 View (XIB) 在 Release模式下崩溃

ios - getBytes 方法的 Swift 3 更改

c++ - 我可以升级 Xcode 以支持更新版本的 GCC 来学习 C++0x 吗?

swift - 连接不显示操作

swift - 有没有办法在 Swift XCTest UI 中的测试之间重置应用程序?

ios - 添加 crashlytics 和 fabric 时出现重复符号链接(symbolic link)器错误

ios - Swift 3 转换得到 'Int1' 不能转换为 'Bool'

swift - Xcode 8/Swift 3 - 类型 'CGColorRenderingIntent' 没有成员 'RenderingIntentDefault'