首页 文章

Xcode 9.2在使用react-native成功构建时崩溃

提问于
浏览
0

我有一个本机应用程序,今天早上工作正常,但现在我根本无法构建它 . 我今天遇到了一些主要的链接错误,并且在一段时间内出现了构建错误 . 在放弃手动链接并使用 react-native linkpod install 的组合后,我终于设法使构建成功 . 但是现在当构建成功时,Xcode本身崩溃了 . 模拟器正在打开,但Xcode崩溃后才能尝试安装新版本 . 我之前从未见过类似Xcode的东西 .

react-native 0.51.0
react 16.0.0
node 7.8.0
Xcode 9.2
Cocoapods 1.4.0

错误报告:

进程:Xcode [3747]路径:/Applications/Xcode.app/Contents/MacOS/Xcode标识符:Xcode版本:9.2(13772)应用商品ID:497799835 App外部ID:825038102代码类型:X86-64(Native)Parent过程:??? [1]负责人:Xcode [3747]用户名:502日期/时间:2018-03-31 20:10:21.783 -0500操作系统版本:Mac OS X 10.13.3(17D102)报告版本:12匿名UUID:D8F23055- EFF7-4CD7-5BEE-671DADA76EF5引导后唤醒时间:640秒系统完整性保护:启用崩溃线程:18调度队列:ConcurrentQueue: - [DVTiPhoneSimulator launchSimulatedExecutable:launchService:error:] _ block_invoke_3异常类型:EXC_CRASH(SIGABRT)异常代码:0x0000000000000000 ,0x0000000000000000异常注意:EXC_CORPSE_NOTIFY特定于应用程序的信息:ProductBuildVersion:9C40b UNCAUGHT EXCEPTION(NSInvalidArgumentException):*** - [__ NSPlaceholderDictionary initWithObjects:forKeys:count:]:尝试从对象插入nil对象[0] UserInfo:(null)提示: Backtrace:0 __exceptionPreprocess(在CoreFoundation中)1 DVTFailureHintExceptionPreprocessor(在DVTFoundation中)2 objc_exception_throw(在libobjc.A.dylib中)3 _CFThrowFormattedException(在CoreFoundation中)4 - [__ NSPlaceholderDict ionary initWithObjects:forKeys:count:](在CoreFoundation中)5 [NSDictionary dictionaryWithObjects:forKeys:count:](在CoreFoundation中)6 __68- [DVTiPhoneSimulator launchSimulatedExecutable:launchService:error:] _ block_invoke.807(在IDEiOSSupportCore中)7 __38- [DVTFuture (DVTFutureAdditions)然后:] _ block_invoke_2(在DVTFoundation中)8 __44- [DVTFuture _internalSetState:结果:错误:] _ block_invoke.207(在DVTFoundation中)9 - [DVTFuture setState:result:error:](在DVTFoundation中)10 __54- [DVTFuture trackFuture:进度:取消:结果:错误:] _ block_invoke.266(在DVTFoundation中)11 - [DVTFuture observeFinish:](在DVTFoundation中)12 - [DVTFuture trackFuture:progress:cancel:result:error:](在DVTFoundation中)13 - [DVTFuture trackFuture:](在DVTFoundation中)14 __38- [DVTFuture(DVTFutureAdditions)然后:] _ block_invoke_2(在DVTFoundation中)15 __44- [DVTFuture _internalSetState:result:error:] _ block_invoke.207(在DVTFoundation中)16 - [DVTFuture setState:结果:错误:](在DVTFoundation中)17 __54- [DVTFuture trackFutur e:进度:取消:结果:错误:] _ block_invoke.266(在DVTFoundation中)18 __44- [DVTFuture _internalSetState:result:error:] _ block_invoke.207(在DVTFoundation中)19 - [DVTFuture setState:result:error:](in DVTFoundation)20 - [DVTFuture succeedWithResult:](在DVTFoundation中)21 __68- [DVTiPhoneSimulator launchSimulatedExecutable:launchService:error:] _ block_invoke_4(在IDEiOSSupportCore中)22 __DVTCreateSingleCallBlock_block_invoke(在DVTFoundation中)23 _dispatch_client_callout(在libdispatch.dylib中)24 _dispatch_block_invoke_direct(在libdispatch中 . dylib)25 __DVTDispatchAsync_block_invoke(在DVTFoundation)26 _dispatch_call_block_and_release(在libdispatch.dylib)27 _dispatch_client_callout(在libdispatch.dylib)28 _dispatch_continuation_pop(在libdispatch.dylib)29 _dispatch_async_redirect_invoke(在libdispatch.dylib)30 _dispatch_root_queue_drain(在libdispatch.dylib)31 _dispatch_worker_thread3 (在libdispatch.dylib中)32 _pthread_wqthread(在libsystem_pthread.dylib中)33 start_wqthread(在libsystem_pthread.dylib)中止()称为专用签名:NSInvalidArgumentException专用回溯1:0的CoreFoundation 0x00007fff50ccafcb __exceptionPreprocess 171 1 DVTFoundation 0x0000000107063a5c DVTFailureHintExceptionPreprocessor 274 2 libobjc.A.dylib 0x00007fff77980c76 objc_exception_throw 48 3的CoreFoundation 0x00007fff50d0c264 _CFThrowFormattedException 202 4的CoreFoundation 0x00007fff50bce6c2 - [__ NSPlaceholderDictionary initWithObjects :forKeys:count:] 322 5 CoreFoundation 0x00007fff50bce54b [NSDictionary dictionaryWithObjects:forKeys:count:] 59 6 IDEiOSSupportCore 0x0000000119710f51 __68- [DVTiPhoneSimulator launchSimulatedExecutable:launchService:error:] _ block_invoke.807 108 7 DVTFoundation 0x0000000106fbd909 __38- [DVTFuture(DVTFutureAdditions)then: ] _block_invoke_2 104 8 DVTFoundation 0x0000000106fbb5c3 __44- [DVTFuture _internalSetState:result:error:] _ block_invoke.207 89 9 DVTFoundation 0x0000000106fbb8d9 - [DVTFuture setStat e:结果:错误:] 199 10 DVTFoundation 0x0000000106fbca1a __54- [DVTFuture trackFuture:progress:cancel:result:error:] _ block_invoke.266 119 11 DVTFoundation0x0000000106fb9565 - [DVTFuture observeFinish:] 277 12 DVTFoundation 0x0000000106fbc7e8 - [DVTFuture trackFuture:progress:cancel:result:error:] 331 13 DVTFoundation 0x0000000106fbd0a8 - [DVTFuture trackFuture:] 42 14 DVTFoundation 0x0000000106fbd927 __38- [DVTFuture(DVTFutureAdditions)then:] _ block_invoke_2 134 15 DVTFoundation 0x0000000106fbb5c3 __44- [DVTFuture _internalSetState:result:error:] _ block_invoke.207 89 16 DVTFoundation 0x0000000106fbb8d9 - [DVTFuture setState:result:error:] 199 17 DVTFoundation 0x0000000106fbca1a __54- [DVTFuture trackFuture:progress:cancel:result:error: ] _block_invoke.266 119 18 DVTFoundation 0x0000000106fbb5c3 __44- [DVTFuture _internalSetState:result:error:] _ block_invoke.207 89 19 DVTFoundation 0x0000000106fbb8d9 - [DVTFuture setState:result:error:] 199 20 DVTFoundation 0x0000000106fbbb0a - [DVTFuture succeedWithResult:] 31 21 IDEiOSSupportCore 0x0000000119710abf __68- [DVTiPhoneSimulator launchSimulatedExecutable:launchService:error:] _ block_inv oke_4 70 22 DVTFoundation 0x0000000106f8606d __DVTCreateSingleCallBlock_block_invoke 133 23 libdispatch.dylib 0x00007fff78536d50 _dispatch_client_callout 8 24 libdispatch.dylib 0x00007fff78549333 _dispatch_block_invoke_direct 317 25 DVTFoundation 0x00000001070b9a4f __DVTDispatchAsync_block_invoke 806 26 libdispatch.dylib 0x00007fff7853e591 _dispatch_call_block_and_release 12 27 libdispatch.dylib 0x00007fff78536d50 _dispatch_client_callout 8 28 libdispatch.dylib 0x00007fff78549e76 _dispatch_continuation_pop 472 29 libdispatch . dylib 0x00007fff785416cb _dispatch_async_redirect_invoke 703 30 libdispatch.dylib 0x00007fff78538941 _dispatch_root_queue_drain 515 31 libdispatch.dylib 0x00007fff785386ed _dispatch_worker_thread3 101 32 libsystem_pthread.dylib 0x00007fff787fb1ca _pthread_wqthread 1387 33 libsystem_pthread.dylib 0x00007fff787fac4d start_wqthread 13螺纹0 ::调度队列:com.apple.main线程0 libsystem_kernel.dylib 0x00007fff786b67c2 mach_msg_trap 10 1 libsystem_kernel.dylib 0x00007fff786b5cdc mach_msg 60 2 com.apple.CoreFoundation 0x00007fff50c46575 __CFRunLoopServiceMachPort 341 3 com.apple.CoreFoundation 0x00007fff50c458c7 __CFRunLoopRun 1783 4 com.apple.CoreFoundation 0x00007fff50c44f43 CFRunLoopRunSpecific 483 5 com.apple.HIToolbox 0x00007fff4ff5ce26 RunCurrentEventLoopInMode 286 6 com.apple.HIToolbox 0x00007fff4ff5cb96 ReceiveNextEventCommon 613 7 com.apple.HIToolbox 0x00007fff4ff5c914 _BlockUntilNextEventMatchingListInModeWithFilter 64 8 com.apple.AppKit 0x00007fff4e227f5f _DPSNextEvent 2085 9 com.apple.AppKit 0x00007fff4e9bdb4c - [的NSApplication(NSEvent)_nextEventMatchingEventMask:untilDate:inMode:出队:] 3044 10 com.apple.dt .DVTKit 0x0000000107672f9a - [DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] 390 11 com.apple.AppKit 0x00007fff4e21cd6d - [NSApplication run] 764 12 com.apple.AppKit 0x00007fff4e1ebf1a NSApplicationMain 804 13 libdyld.dylib 0x00007fff78570115 start 1 Thread 1 :0 libsystem_kernel.dylib 0x00007fff786b67c2 mach_msg_trap 10 1 libsystem_kernel.dylib 0x00007fff786b5cdc mach_msg 60 2 com.apple.CoreFoundation 0x00007fff50c46575 CFRunLoopServiceMachPort 341 3 com.apple.CoreFoundation 0x00007fff50c458c7 __CFRunLoopRun 1783 4 com.apple.CoreFoundation 0x00007fff50c44f43 CFRunLoopRunSpecific 483 5 com.apple.Foundation 0x00007fff52d16c16 - [NSRunLoop(NSRunLoop)runMode:beforeDate:] 277 6 com.apple.DTDeviceKitBase 0x00000001197c9917 [DTDKRemoteDeviceConnection startServiceBrowsers] 217 7 com.apple.Foundation 0x00007fff52d24ee8 __NSThread__start 1197 8 libsystem_pthread.dylib 0x00007fff787fb6c1 _pthread_body 340 9 libsystem_pthread.dylib 0x00007fff787fb56d _pthread_start 377 10 libsystem_pthread.dylib 0x00007fff787fac5d thread_start 13

错误报告一直在继续,但似乎没有任何相关内容 .

1 回答

  • 0

    作为我的故障排除的一部分,我已经覆盖了一些文件,并意外删除了我的项目包标识符 . 重置使一切恢复正常 .

相关问题