gpt4 book ai didi

iphone - iOS XCODE崩溃并显示错误:调度队列:com.apple.root.default-qos

转载 作者:行者123 更新时间:2023-12-03 15:48:20 24 4
gpt4 key购买 nike

我在VMWare中安装了Mac镜像并安装了XCode 6.1。当我运行项目时,IDE遇到错误的访问。有没有人遇到这个问题,这个问题有解决方案吗?

我收到错误消息“调度队列:com.apple.root.default-qos

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000010"

以下是完整的崩溃报告:
Process:               Xcode [299]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.3.1 (7703)
Build Info: IDEFrameworks-7703000000000000~4
App Item ID: 497799835
App External ID: 812230896
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [299]
User ID: 501

Date/Time: 2015-04-26 19:36:47.627 -0700
OS Version: Mac OS X 10.10 (14A238x)
Report Version: 11
Anonymous UUID: F379DDE0-7D57-C054-0C16-360F7F63CAE3


Time Awake Since Boot: 230 seconds

Crashed Thread: 11 Dispatch queue: com.apple.root.default-qos

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000010

VM Regions Near 0x10: -->
__TEXT 0000000109edf000-0000000109ee0000 [ 4K] r-x/rwx SM=COW /Applications/Xcode.app/Contents/MacOS/Xcode
Application Specific Information:
ProductBuildVersion: 6D1002

Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff8c5a35ae mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8c5a275f mach_msg + 55
2 com.apple.CoreFoundation 0x00007fff8ad78d64 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fff8ad78255 __CFRunLoopRun + 1381
4 com.apple.CoreFoundation 0x00007fff8ad77aa8 CFRunLoopRunSpecific + 296
5 com.apple.HIToolbox 0x00007fff869e3b3f RunCurrentEventLoopInMode + 235
6 com.apple.HIToolbox 0x00007fff869e38b2 ReceiveNextEventCommon + 431
7 com.apple.HIToolbox 0x00007fff869e36f3 _BlockUntilNextEventMatchingListInModeWithFilter + 71
8 com.apple.AppKit 0x00007fff89453825 _DPSNextEvent + 1000
9 com.apple.AppKit 0x00007fff89452ff9 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 139
10 com.apple.dt.DVTKit 0x000000010a633dda -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 237
11 com.apple.AppKit 0x00007fff89446fe3 -[NSApplication run] + 594
12 com.apple.AppKit 0x00007fff89432a9e NSApplicationMain + 1778
libdyld.dylib 0x00007fff8cc055c9 start + 1

谢谢

最佳答案

解决方案:修改UI代码放回主线程

dispatch_async(dispatch_get_main_queue(), ^{
// addSubview,insertSubview
});

关于iphone - iOS XCODE崩溃并显示错误:调度队列:com.apple.root.default-qos,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29886515/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com