Xcode 5 可以打开我的项目,但 Xcode 6 在尝试打开时崩溃
Posted
技术标签:
【中文标题】Xcode 5 可以打开我的项目,但 Xcode 6 在尝试打开时崩溃【英文标题】:Xcode 5 can open my project but Xcode 6 crashes while trying to open 【发布时间】:2014-12-29 13:02:44 【问题描述】:我的 ios 项目使用 Xcode 5 完美打开并编译、创建存档没有任何问题。但是每当我尝试使用 Xcode 6 打开时,Xcode 6 就会崩溃并显示以下消息:
提前致谢。
-------------------- 进程:Xcode [1017] 路径:/Applications/Xcode.app/Contents/MacOS/Xcode 标识符: com.apple.dt.Xcode 版本:6.0.1 (6528) 构建信息: IDEFrameworks-6528000000000000~2 App Item ID: 497799835 App 外部 ID:712682811 代码类型:X86-64(本机)父 进程:launchd [159] 负责人:Xcode [1017] 用户ID: 501
日期/时间:2014-11-02 21:13:51.442 +0000 操作系统版本:Mac OS X 10.9.5 (13F34) 报告版本:11 匿名 UUID: 5E5B0875-B070-6EBF-492E-D372827F5E5D
睡眠/唤醒 UUID:535E2FC5-33F7-4221-BB5C-BE6A3D2EF7EA
崩溃的线程:0 调度队列:com.apple.main-thread
异常类型:EXC_CRASH (SIGABRT) 异常代码: 0x00000000000000000, 0x0000000000000000
应用程序特定信息:ProductBuildVersion:6A317 ASSERTION 失败 /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-6245/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Xcode3Model/Xcode3Target.m:1206 详细信息:fileReference 应该是继承自的实例 Xcode3FileReference,但它是 对象:方法:-linkedBinaries 主题:name = (null), num = 1 提示: 无 回溯:0 0x0000000109ae3f0a -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (在 IDEKit 中)1 0x000000010889fbaf _DVTAssertionHandler(在 DVTFoundation) 2 0x000000010889fe9e _DVTAssertionFailureHandler (在 DVTFoundation) 3 0x0000000112e4314c -[Xcode3Target linkedBinaries] (在 DevToolsCore 中)4 0x0000000113284353 +[Xcode3UpgradeUnitTesting analyzeInContext:] (在 Xcode3UI 中) 5 0x00000001092e1a51 analyzeTasks (在 IDEFoundation 中)6 0x00000001092e167f IDEUpgradeTask_AllUpgradeTasksForContainer(在 IDEFoundation 中) 7 0x0000000112e373b3 -[Xcode3Project _runUpgradeChecksIfNecessary](在 DevToolsCore) 8 0x0000000112e37900 -[Xcode3Project enumerateUpgradeTasksWithBlock:](在 DevToolsCore 中)9 0x0000000109374e90 -[IDEWorkspaceUpgradeTasksController processUpgradeTasks](在 IDEFoundation 中)10 0x00007fff956be745 -[NSBlockOperation main](在 Foundation 中)11 0x00007fff9569df31 -[NSOperationInternal _start:](在 Foundation 中)12 0x00007fff9569dbdb __NSOQSchedule_f(在 Foundation 中)13 0x00007fff8c9e128d _dispatch_client_callout(在 libdispatch.dylib 中)14 0x00007fff8c9e8ef0 _dispatch_main_queue_callback_4CF(在 libdispatch.dylib) 15 0x00007fff8ea084f9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE(在 CoreFoundation 中)16 0x00007fff8e9c3714 __CFRunLoopRun(在 CoreFoundation 中)17 0x00007fff8e9c2e75 CFRunLoopRunSpecific(在 CoreFoundation 中)18 0x00007fff8caf3a0d RunCurrentEventLoopInMode(在 HIToolbox 中)19 0x00007fff8caf37b7 ReceiveNextEventCommon(在 HIToolbox 中)20 0x00007fff8caf35bc _BlockUntilNextEventMatchingListInModeWithFilter (在 HIToolbox 中)21 0x00007fff8d88e24e _DPSNextEvent(在 AppKit 中)22 0x00007fff8d88d89b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:](在 AppKit 中)23 0x0000000108e0c7bd -[DVT应用 nextEventMatchingMask:untilDate:inMode:dequeue:](在 DVTKit 中)24 0x00007fff8d88199c -[NSApplication 运行](在 AppKit 中)25 0x00007fff8d86c783 NSApplicationMain(在 AppKit 中)26 0x00007fff8eff25fd 开始(在 libdyld.dylib 中)调用 abort()
应用程序特定签名:[(id)(fileReference) isKindOfClass:[Xcode3FileReference 类]]
线程 0 崩溃::调度队列:com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fff95b73866 pthread_kill + 10 1 libsystem_pthread.dylib 0x00007fff9181635c pthread_kill + 92 2 libsystem_c.dylib 0x00007fff92f88b1a 中止 + 125 3 com.apple.dt.IDEKit 0x0000000109ae3ae6 + [IDEAssertionHandler _handleAssertionWithLogString:assertionSignature:assertionReason:extraBacktrace:] + 1510 4 com.apple.dt.IDEKit 0x0000000109ae40c0 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] + 1169 5 com.apple.dt.DVTFoundation 0x000000010889fbaf _DVTAssertionHandler + 367 6 com.apple.dt.DVTFoundation 0x000000010889fe9e _DVTAssertionFailureHandler + 407 7 com.apple.Xcode.DevToolsCore 0x0000000112e4314c -[Xcode3Target linkedBinaries] + 450 8 com.apple.dt.IDE.Xcode3UI 0x0000000113284353 +[Xcode3UpgradeUnitTesting analyzeInContext:] + 359 9 com.apple.dt.IDEFoundation 0x00000001092e1a51 分析任务 + 432 10 com.apple.dt.IDEFoundation 0x00000001092e167f IDEUpgradeTask_AllUpgradeTasksForContainer + 3816 11 com.apple.Xcode.DevToolsCore 0x0000000112e373b3-[Xcode3Project _runUpgradeChecksIfNecessary] + 1074 12 com.apple.Xcode.DevToolsCore 0x0000000112e37900 -[Xcode3Project enumerateUpgradeTasksWithBlock:] + 73 13 com.apple.dt.IDEFoundation 0x0000000109374e90 -[IDEWorkspaceUpgradeTasksController processUpgradeTasks] + 390 14 com.apple.Foundation 0x00007fff956be745 -[NSBlockOperation 主] + 75 15 com.apple.Foundation 0x00007fff9569df31 -[__NSOperationInternal _start:] + 631 16 com.apple.Foundation 0x00007fff9569dbdb __NSOQSchedule_f + 64 17 libdispatch.dylib 0x00007fff8c9e128d _dispatch_client_callout + 8 18 libdispatch.dylib 0x00007fff8c9e8ef0 _dispatch_main_queue_callback_4CF + 333 19 com.apple.CoreFoundation 0x00007fff8ea084f9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9 20 com.apple.CoreFoundation 0x00007fff8e9c3714 __CFRunLoopRun + 1636 21 com.apple.CoreFoundation 0x00007fff8e9c2e75 CFRunLoopRunSpecific + 309 22 com.apple.HIToolbox 0x00007fff8caf3a0d RunCurrentEventLoopInMode + 226 23 com.apple.HIToolbox 0x00007fff8caf37b7 ReceiveNextEventCommon + 479 24 com.apple.HIToolbox 0x00007fff8caf35bc _BlockUntilNextEventMatchingListInModeWithFilter + 65 25 com.apple.AppKit 0x00007fff8d88e24e _DPSNextEvent + 1434 26 com.apple.AppKit 0x00007fff8d88d89b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122 27 com.apple.dt.DVTKit 0x0000000108e0c7bd -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 237 28 com.apple.AppKit 0x00007fff8d88199c -[NSApplication 运行] + 553 29 com.apple.AppKit 0x00007fff8d86c783 NSApplicationMain + 940 30 libdyld.dylib 0x00007fff8eff25fd 开始 + 1
线程 1:0 libsystem_kernel.dylib 0x00007fff95b73e6a __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff91816f08 _pthread_wqthread + 330 2 libsystem_pthread.dylib 0x00007fff91819fb9 start_wqthread + 13
线程 2:: 调度队列:com.apple.libdispatch-manager 0 libsystem_kernel.dylib 0x00007fff95b74662 kevent64 + 10 1 libdispatch.dylib 0x00007fff8c9e3421 _dispatch_mgr_invoke + 239 2 libdispatch.dylib 0x00007fff8c9e3136 _dispatch_mgr_thread + 52
线程 3:0 libsystem_kernel.dylib 0x00007fff95b73e6a __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff91816f08 _pthread_wqthread + 330 2 libsystem_pthread.dylib 0x00007fff91819fb9 start_wqthread + 13
线程 4:0 libsystem_kernel.dylib 0x00007fff95b73e6a __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff91816f08 _pthread_wqthread + 330 2 libsystem_pthread.dylib 0x00007fff91819fb9 start_wqthread + 13
线程 5:: com.apple.NSURLConnectionLoader 0 libsystem_kernel.dylib 0x00007fff95b6fa1a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff95b6ed18 mach_msg + 64 2 com.apple.CoreFoundation 0x00007fff8e9c3f15 CFRunLoopServiceMachPort + 181 3 com.apple.CoreFoundation 0x00007fff8e9c3539 __CFRunLoopRun + 1161 4 com.apple.CoreFoundation 0x00007fff8e9c2e75 CFRunLoopRunSpecific + 309 5 com.apple.Foundation 0x00007fff956fcff7 +[NSURLConnection(Loader)_resourceLoadLoop:] + 348 6 com.apple.Foundation 0x00007fff956fcdfb __NSThread__main + 1318 7 libsystem_pthread.dylib 0x00007fff91815899 _pthread_body + 138 8 libsystem_pthread.dylib 0x00007fff9181572a _pthread_start + 137 9 libsystem_pthread.dylib 0x00007fff91819fc9 thread_start + 13
线程 6:0 libsystem_kernel.dylib 0x00007fff95b73e6a __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff91816f08 _pthread_wqthread + 330 2 libsystem_pthread.dylib 0x00007fff91819fb9 start_wqthread + 13
线程 7:0 libsystem_kernel.dylib 0x00007fff95b73e6a __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff91816f08 _pthread_wqthread + 330 2 libsystem_pthread.dylib 0x00007fff91819fb9 start_wqthread + 13
线程 8:: com.apple.CFSocket.private 0 libsystem_kernel.dylib 0x00007fff95b739aa __select + 10 1 com.apple.CoreFoundation 0x00007fff8ea0fa03 __CFSocketManager + 867 2 libsystem_pthread.dylib 0x00007fff91815899 _pthread_body + 138 3 libsystem_pthread.dylib 0x00007fff9181572a _pthread_start + 137 4 libsystem_pthread.dylib 0x00007fff91819fc9 thread_start + 13
线程 9:: 调度队列:IDE 源代码控制文件路径处理 队列 0 libsystem_kernel.dylib 0x00007fff95b6fa56 semaphore_wait_trap + 10 1 libsystem_platform.dylib 0x00007fff8d300451 _os_semaphore_wait + 16 2 libdispatch.dylib 0x00007fff8c9e7982 _dispatch_barrier_sync_f_slow + 310 3 com.apple.dt.DVTFoundation 0x00000001088d7b35 DVTDispatchSync + 30 4 com.apple.dt.IDEFoundation 0x0000000109423b4b __60-[IDESourceControlWorkspaceMonitor _startScanningWorkspace:]_block_invoke_2 + 1244 5 com.apple.dt.DVTFoundation 0x00000001088d7bac __DVTDispatchAsync_block_invoke + 106 6 libdispatch.dylib 0x00007fff8c9e41bb _dispatch_call_block_and_release + 12 7 libdispatch.dylib 0x00007fff8c9e128d _dispatch_client_callout + 8 8 libdispatch.dylib 0x00007fff8c9e3673 _dispatch_queue_drain + 451 9 libdispatch.dylib 0x00007fff8c9e49c1 _dispatch_queue_invoke + 110 10 libdispatch.dylib 0x00007fff8c9e2f87 _dispatch_root_queue_drain + 75 11 libdispatch.dylib 0x00007fff8c9e4177 _dispatch_worker_thread2 + 40 12 libsystem_pthread.dylib 0x00007fff91816ef8 _pthread_wqthread + 314 13 libsystem_pthread.dylib 0x00007fff91819fb9 start_wqthread + 13
线程 10:0 libsystem_kernel.dylib 0x00007fff95b6fa1a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff95b6ed18 mach_msg + 64 2 com.apple.CoreFoundation 0x00007fff8e9c3f15 CFRunLoopServiceMachPort + 181 3 com.apple.CoreFoundation 0x00007fff8e9c3539 __CFRunLoopRun + 1161 4 com.apple.CoreFoundation 0x00007fff8e9c2e75 CFRunLoopRunSpecific + 309 5 com.apple.Foundation 0x00007fff956ff16c -[NSRunLoop(NSRunLoop) 运行模式:beforeDate:] + 253 6 com.apple.DTDeviceKitBase 0x00000001142121d2 -[DTDKRemoteDeviceDataListener listenerThreadImplementation] + 676 7 com.apple.Foundation 0x00007fff956fcdfb __NSThread__main + 1318 8 libsystem_pthread.dylib 0x00007fff91815899 _pthread_body + 138 9 libsystem_pthread.dylib 0x00007fff9181572a _pthread_start + 137 10 libsystem_pthread.dylib 0x00007fff91819fc9 thread_start + 13
线程 11:0 libsystem_kernel.dylib 0x00007fff95b6fa1a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff95b6ed18 mach_msg + 64 2 com.apple.CoreFoundation 0x00007fff8e9c3f15 __CFRunLoopServiceMachPort + 181 3 com.apple.CoreFoundation 0x00007fff8e9c3539 __CFRunLoopRun + 1161 4 com.apple.CoreFoundation 0x00007fff8e9c2e75 CFRunLoopRunSpecific + 309 5 com.apple.AppKit 0x00007fff8da2e05e _NSEventThread + 144 6 libsystem_pthread.dylib 0x00007fff91815899 _pthread_body + 138 7 libsystem_pthread.dylib 0x00007fff9181572a _pthread_start + 137 8 libsystem_pthread.dylib 0x00007fff91819fc9 thread_start + 13
线程 12::DYMobileDeviceManager 0 libsystem_kernel.dylib 0x00007fff95b6fa1a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff95b6ed18 mach_msg + 64 2 com.apple.CoreFoundation 0x00007fff8e9c3f15 CFRunLoopServiceMachPort + 181 3 com.apple.CoreFoundation 0x00007fff8e9c3539 __CFRunLoopRun + 1161 4 com.apple.CoreFoundation 0x00007fff8e9c2e75 CFRunLoopRunSpecific + 309 5 com.apple.Foundation 0x00007fff956ff16c -[NSRunLoop(NSRunLoop) 运行模式:beforeDate:] + 253 6 com.apple.Foundation 0x00007fff957e7b3a -[NSRunLoop(NSRunLoop) 运行] + 74 7 com.apple.GPUToolsMobileFoundation 0x000000011710b9eb -[DYMobileDeviceManager _deviceNotificationThread:] + 134 8 com.apple.Foundation 0x00007fff956fcdfb __NSThread__main + 1318 9 libsystem_pthread.dylib 0x00007fff91815899 _pthread_body + 138 10 libsystem_pthread.dylib 0x00007fff9181572a _pthread_start + 137 11 libsystem_pthread.dylib 0x00007fff91819fc9 thread_start + 13
线程 13:0 libsystem_kernel.dylib 0x00007fff95b6fa1a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff95b6ed18 mach_msg + 64 2 com.apple.CoreFoundation 0x00007fff8e9c3f15 __CFRunLoopServiceMachPort + 181 3 com.apple.CoreFoundation 0x00007fff8e9c3539 __CFRunLoopRun + 1161 4 com.apple.CoreFoundation 0x00007fff8e9c2e75 CFRunLoopRunSpecific + 309 5 com.apple.CoreFoundation 0x00007fff8ea78811 CFRunLoopRun + 97 6 com.apple.DebugSymbols 0x00007fff8ee8a7e3 SpotlightQueryThread(void*) + 355 7 libsystem_pthread.dylib 0x00007fff91815899 _pthread_body + 138 8 libsystem_pthread.dylib 0x00007fff9181572a _pthread_start + 137 9 libsystem_pthread.dylib 0x00007fff91819fc9 thread_start + 13
线程 14: 0 libsystem_kernel.dylib 0x00007fff95b73a3a __semwait_signal + 10 1 libsystem_c.dylib 0x00007fff92fa7dc0 nanosleep + 200 2 com.apple.CoreSymbolication 0x00007fff92d0a481 cleaner_thread_main(void*) + 42 3 libsystem_pthread.dylib 0x00007fff91815899 _pthread_body + 138 4 libsystem_pthread.dylib 0x00007fff9181572a _pthread_start + 137 5 libsystem_pthread.dylib 0x00007fff91819fc9 thread_start + 13
线程 0 因 X86 线程状态(64 位)而崩溃:rax: 0x0000000000000000 rbx:0x00007fff7bf6a310 rcx:0x00007fff5752ac38 rdx: 0x0000000000000000 rdi: 0x0000000000000707 rsi: 0x0000000000000006 rbp:0x00007fff5752ac60 rsp:0x00007fff5752ac38 r8:0x0000000000003fff r9:0xffff80718ebe8c9f r10: 0x0000000008000000 r11:0x0000000000000206 r12:0x00007fff8f22d0d0 r13:0x00007f8e751fb800 r14:0x0000000000000006 r15: 0x00007f8e71417900 翻录:0x00007fff95b73866 rfl:0x0000000000000206 cr2: 0x000000011ad82000 逻辑 CPU: 0 错误代码: 0x02000148 陷阱号:133
【问题讨论】:
我遇到了类似的问题。在这里解决了***.com/a/42186174/159991希望它可以帮助你。 谢谢托马斯!就我而言,它使用/调用 Web 服务的方式存在问题。还是谢谢 【参考方案1】:尝试卸载并安装 Xcode 6
【讨论】:
谢谢苏雷什!我做了但仍然没有工作!如果我在任何其他 Mac 计算机或笔记本电脑上完成整个项目,问题仍然存在。 Xcode 6 在所有其他 Mac 或笔记本电脑中也会崩溃。似乎,问题出在项目文件中。还是谢谢。以上是关于Xcode 5 可以打开我的项目,但 Xcode 6 在尝试打开时崩溃的主要内容,如果未能解决你的问题,请参考以下文章
如何将 Xcode 5.0.1 项目降级到 Xcode 4.6.3