“使用libswiftCore.dylib插件时,Xcode意外退出”

“使用libswiftCore.dylib插件时,Xcode意外退出”,第1张

概述我在同一台Macbook中有 Xcode 6.4和 Xcode 7,但后来我将Xcode 7更新为7.1,现在我无法打开Xcode 6.4版本. Process: Xcode [13139]Path: /Applications/Xcode 6.app/Contents/MacOS/XcodeIdentifier: 我在同一台Macbook中有 Xcode 6.4和 Xcode 7,但后来我将Xcode 7更新为7.1,现在我无法打开Xcode 6.4版本.
Process:               Xcode [13139]Path:                  /Applications/Xcode 6.app/Contents/MacOS/XcodeIDentifIEr:            com.apple.dt.XcodeVersion:               6.4 (7720)Build Info:            IDEFrameworks-7720000000000000~8Code Type:             X86-64 (Native)Parent Process:        ??? [1]Responsible:           Xcode [13139]User ID:               502PlugIn Path:             /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/libswiftCore.dylibPlugIn IDentifIEr:       libswiftCore.dylibPlugIn Version:          2.1 (700.1.101.6)Date/Time:             2015-10-23 10:51:23.902 -0200OS Version:            Mac OS X 10.10.5 (14F1021)Report Version:        11Anonymous UUID:        3C65E0B9-2018-8B23-3825-C5EB4D6161BESleep/Wake UUID:       79EE1FEB-DB8C-44E2-9C3B-F7C7B6C44EB5Time Awake Since Boot: 19000 secondsTime Since Wake:       6900 secondsCrashed Thread:        0  dispatch queue: com.apple.main-threadException Type:        EXC_BAD_ACCESS (SIGSEGV)Exception Codes:       EXC_I386_GPFLTApplication Specific information:ProductBuildVersion: 6E35bThread 0 Crashed:: dispatch queue: com.apple.main-thread0   libsystem_c.dylib               0x00007fff851dafb2 strlen + 181   libswiftCore.dylib              0x0000000119247aac _buildDemanglingForNominalType(swift::Demangle::Node::Kind,swift::Metadata const*,swift::NominalTypeDescriptor const*) + 442   libswiftCore.dylib              0x0000000119245cc5 _buildDemanglingForMetadata(swift::Metadata const*) + 1333   libswiftCore.dylib              0x0000000119247b7c _buildDemanglingForNominalType(swift::Demangle::Node::Kind,swift::NominalTypeDescriptor const*) + 2524   libswiftCore.dylib              0x0000000119245cc5 _buildDemanglingForMetadata(swift::Metadata const*) + 1335   libswiftCore.dylib              0x00000001192459bc swift_getGenericclassObjCname + 286   libswiftCore.dylib              0x00000001191975dd 0x118ffe000 + 16767657   libswiftCore.dylib              0x000000011923bdd8 (anonymous namespace)::GenericCacheEntry* llvm::function_ref<(anonymous namespace)::GenericCacheEntry* ()>::callback_fn<swift::swift_getGenericMetadata::$_0>(long) + 248   libswiftCore.dylib              0x000000011923bce0 swift::MetadataCache<(anonymous namespace)::GenericCacheEntry>::addMetadataEntry(swift::EntryRef<(anonymous namespace)::GenericCacheEntry>,ConcurrentList<swift::MetadataCache<(anonymous namespace)::GenericCacheEntry>::EntryPair>&,llvm::function_ref<(anonymous namespace)::GenericCacheEntry* ()>) + 1289   libswiftCore.dylib              0x0000000119238488 swift_getGenericMetadata + 50410  libswiftCore.dylib              0x000000011923851d swift_getGenericMetadata3 + 2911  libswiftFoundation.dylib        0x0000000119519226 _TZFe0_Rq_Ss8Hashable_10FoundationVSs10Dictionary26_forceBrIDgeFromObjectiveCu0_Rq_S__fMGS1_q_q0__FTCSo12NSDictionary6resultRGSqGS1_q_q0____T_ + 5412  libswiftFoundation.dylib        0x00000001195190ed _TF10Foundation32_convertNSDictionaryToDictionaryu0_Rq_Ss8Hashable_FGSqCSo12NSDictionary_GVSs10Dictionaryq_q0__ + 6113  ca.nri.colorSenseRainbow        0x0000000118dce1ad _TTSf4g_n___TZFC17colorSenseRainbow17colorSenseRainbow13pluginDIDLoadfMS0_FCSo8NSBundleT_ + 189 (colorSenseRainbow.swift:33)14  ca.nri.colorSenseRainbow        0x0000000118dcc6f5 _TToZFC17colorSenseRainbow17colorSenseRainbow13pluginDIDLoadfMS0_FCSo8NSBundleT_ + 3715  com.apple.Xcode.DevToolscore    0x0000000118530075 __46-[XCPluginManager loadpluginBundle:forDomain:]_block_invoke + 14716  com.apple.dt.DVTFoundation      0x000000010e5ff972 DVTInvokeWithFailureHint + 8317  com.apple.Xcode.DevToolscore    0x000000011852fd9c -[XCPluginManager loadpluginBundle:forDomain:] + 104118  com.apple.Xcode.DevToolscore    0x000000011852f831 __46-[XCPluginManager findAndLoadpluginsInDomain:]_block_invoke + 62119  com.apple.dt.DVTFoundation      0x000000010e5e689d -[DVTPlugInManager _allowNonApplePlugInsFromDescriptors:error:] + 47620  com.apple.dt.DVTFoundation      0x000000010e5e6b1e -[DVTPlugInManager _checkNonApplePlugIns] + 23921  com.apple.dt.DVTFoundation      0x000000010e5e6b94 -[DVTPlugInManager initializePlugIns:] + 2722  com.apple.dt.IDEFoundation      0x000000010f081634 _IDEInitializeOtherPlugInStuff + 17523  com.apple.dt.IDEFoundation      0x000000010f082a0c IDEInitialize + 353324  com.apple.dt.IDEKit             0x000000010f667bdc -[IDEApplicationController applicationWillFinishLaunching:] + 71025  com.apple.CoreFoundation        0x00007fff87c2e45c __CFNOTIFICATIONCENTER_IS_CALliNG_OUT_TO_AN_OBSERVER__ + 1226  com.apple.CoreFoundation        0x00007fff87b1e634 _CFXNotificationPost + 314027  com.apple.Foundation            0x00007fff90092aa1 -[NSNotificationCenter postNotificationname:object:userInfo:] + 6628  com.apple.dt.DVTFoundation      0x000000010e5db998 -[NSNotificationCenter(DVTNSNotificationCenteradditions) _dvt_postNotificationname:object:userInfo:] + 16229  com.apple.AppKit                0x00007fff83229e57 -[NSApplication finishLaunching] + 44030  com.apple.dt.DVTKit             0x000000010eb7f952 -[DVTApplication finishLaunching] + 14931  com.apple.AppKit                0x00007fff83229921 -[NSApplication run] + 12832  com.apple.AppKit                0x00007fff831a6244 NSApplicationMain + 183233  libdyld.dylib                   0x00007fff8fe005c9 start + 1Thread 1:: dispatch queue: com.apple.libdispatch-manager0   libsystem_kernel.dylib          0x00007fff8c9c7232 kevent64 + 101   libdispatch.dylib               0x00007fff822cd26e _dispatch_mgr_thread + 52Thread 2:0   libsystem_kernel.dylib          0x00007fff8c9c694a __workq_kernreturn + 101   libsystem_pthread.dylib         0x00007fff8af043dd start_wqthread + 13Thread 3:0   libsystem_kernel.dylib          0x00007fff8c9c694a __workq_kernreturn + 101   libsystem_pthread.dylib         0x00007fff8af043dd start_wqthread + 13Thread 4:0   libsystem_kernel.dylib          0x00007fff8c9c694a __workq_kernreturn + 101   libsystem_pthread.dylib         0x00007fff8af043dd start_wqthread + 13Thread 5:0   libsystem_kernel.dylib          0x00007fff8c9c694a __workq_kernreturn + 101   libsystem_pthread.dylib         0x00007fff8af043dd start_wqthread + 13Thread 0 crashed with X86 Thread State (64-bit):  rax: 0x0000000119245c87  rbx: 0xc9854800101ab30d  rcx: 0xc9854800101ab30d  rdx: 0xc9854800101ab30d  rdi: 0xc9854800101ab300  rsi: 0x0000000000000007  rbp: 0x00007fff517d81e0  rsp: 0x00007fff517d81e0   r8: 0x0000000000000001   r9: 0x00000000fffffff0  r10: 0x0000000000000002  r11: 0x00007fe83d300000  r12: 0x0000000119284f20  r13: 0x000000011919c970  r14: 0x0000000000000007  r15: 0x00007fff517d85d0  rip: 0x00007fff851dafb2  rfl: 0x0000000000010286  cr2: 0x000000011919c978Logical cpu:     0Error Code:      0x00000000Trap Number:     13
解决方法 需要从此目录中删除一个或多个插件

~/library/Application Support/Developer/Shared/Xcode/Plug-ins/

修理:

打开上面提到的目录,暂时删除一个或多个找到的插件.

注意:

在终端中以非sudo用户身份运行以下命令将显示影响启动的插件:

open /Applications/Xcode.app/Contents/MacOS/Xcode

在终端中运行代码后产生的示例错误

2015-10-01 09:04:07.052 Xcode[860:42364] [MT] PluginLoading: required plug-in compatibility UUID 0420B86A-AA43-4792-9ED0-6FE0F2B16A13 for plug-in at path '~/library/Application Support/Developer/Shared/Xcode/Plug-ins/SwiftCodeSnippets.xcplugin' not present in DVTPlugInCompatibilityUUIDs2015-10-01 09:04:07.054 Xcode[860:42364] [MT] PluginLoading: required plug-in compatibility UUID 0420B86A-AA43-4792-9ED0-6FE0F2B16A13 for plug-in at path '~/library/Application Support/Developer/Shared/Xcode/Plug-ins/CocoaControlsPlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs2015-10-01 09:04:07.054 Xcode[860:42364] [MT] PluginLoading: required plug-in compatibility UUID 0420B86A-AA43-4792-9ED0-6FE0F2B16A13 for plug-in at path '~/library/Application Support/Developer/Shared/Xcode/Plug-ins/BBUUtilitIEsTuckAway.xcplugin' not present in DVTPlugInCompatibilityUUIDsSegmentation fault: 11
总结

以上是内存溢出为你收集整理的“使用libswiftCore.dylib插件时,Xcode意外退出”全部内容,希望文章能够帮你解决“使用libswiftCore.dylib插件时,Xcode意外退出”所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/web/1104103.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-28
下一篇2022-05-28

发表评论

登录后才能评论

评论列表(0条)

    保存