Xcode5意外退出

时间:2014-04-08 06:48:33

标签: xcode xcode5

启动Xcode 5.1构建版本5B130a时遇到问题 在发布此问题之前,我已经在本论坛中发布了最大问题。

我遵循了一些解决方案

  1. 已安装新Xcode表单App Store超过2次
  2. 下载新的xcode_5.1.dmg并安装它。
  3. 删除了高级帐户和首选项,如:"Xcode quit unexpectedly while using the GLKit plug-in"
  4. 中所述
  5. 使用 gdb ,如回答XCode 3.2.1 crashes on startup on OSX 10.6.2

    中所述
    User-MacBook:~ User$ gdb /Applications/Xcode.app/Contents/MacOS/Xcode
    GNU gdb 6.3.50-20050815 (Apple version gdb-1824) (Wed Feb  6 22:51:23 UTC 2013)
    Copyright 2004 Free Software Foundation, Inc.
    GDB is free software, covered by the GNU General Public License, and you are
    welcome to change it and/or distribute copies of it under certain conditions.
    Type "show copying" to see the conditions.
    There is absolutely no warranty for GDB.  Type "show warranty" for details.
    This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ...... done
    
    (gdb) -e
    Undefined command: "-e".  Try "help".
    (gdb) -s
    Undefined command: "-s".  Try "help".
    (gdb) run
    Starting program: /Applications/Xcode.app/Contents/MacOS/Xcode 
    warning: Tried to remove a non-existent library: /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
    warning: Tried to remove a non-existent library: /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
    warning: Tried to remove a non-existent library: /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
    Reading symbols for shared libraries +....++++................................................................................................................................................................................................................. done
    Reading symbols for shared libraries . done
    Reading symbols for shared libraries . done
    warning: Tried to remove a non-existent library: /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
    warning: Tried to remove a non-existent library: /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
    warning: Tried to remove a non-existent library: /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
    Reading symbols for shared libraries .... done
    warning: Tried to remove a non-existent library: /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
    Reading symbols for shared libraries . done
    Reading symbols for shared libraries . done
    Reading symbols for shared libraries . done
    warning: Tried to remove a non-existent library: /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
    Reading symbols for shared libraries .. done
    warning: Tried to remove a non-existent library: /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
    Reading symbols for shared libraries .... done
    warning: Tried to remove a non-existent library: /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
    Reading symbols for shared libraries . done
    Reading symbols for shared libraries .... done
    Reading symbols for shared libraries . done
    Reading symbols for shared libraries . done
    Reading symbols for shared libraries ..... done
    Reading symbols for shared libraries . done
    Reading symbols for shared libraries . done
    Reading symbols for shared libraries . done
    Reading symbols for shared libraries . done
    Reading symbols for shared libraries . done
    Reading symbols for shared libraries . done
    Reading symbols for shared libraries ...... done
    Reading symbols for shared libraries . done
    2014-04-08 10:56:01.948 Xcode[1155:1603]  DeveloperPortal: Using pre-existing current store at URL (file://localhost/Users/Glam/Library/Developer/Xcode/DeveloperPortal%205.1.db).
    Reading symbols for shared libraries . done
    warning: Tried to remove a non-existent library: /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
    Reading symbols for shared libraries ......... done
    warning: Tried to remove a non-existent library: /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
    Reading symbols for shared libraries .. done
    Reading symbols for shared libraries . done
    Reading symbols for shared libraries warning: Could not find object file "/Users/Glam/Library/Developer/Xcode/DerivedData/ClangFormat-gtoosagpqhsosbewemdtdfqrwhvr/Build/Intermediates/ClangFormat.build/Debug/ClangFormat.build/Objects-normal/x86_64/TRVSClangFormat.o" - no debug information available for "TRVSClangFormat.m".
    
    warning: Could not find object file "/Users/Glam/Library/Developer/Xcode/DerivedData/ClangFormat-gtoosagpqhsosbewemdtdfqrwhvr/Build/Intermediates/ClangFormat.build/Debug/ClangFormat.build/Objects-normal/x86_64/TRVSCodeFragment.o" - no debug information available for "TRVSCodeFragment.m".
    
    warning: Could not find object file "/Users/Glam/Library/Developer/Xcode/DerivedData/ClangFormat-gtoosagpqhsosbewemdtdfqrwhvr/Build/Intermediates/ClangFormat.build/Debug/ClangFormat.build/Objects-normal/x86_64/TRVSFormatter.o" - no debug information available for "TRVSFormatter.m".
    
    warning: Could not find object file "/Users/Glam/Library/Developer/Xcode/DerivedData/ClangFormat-gtoosagpqhsosbewemdtdfqrwhvr/Build/Intermediates/ClangFormat.build/Debug/ClangFormat.build/Objects-normal/x86_64/NSDocument+TRVSClangFormat.o" - no debug information available for "NSDocument+TRVSClangFormat.m".
    
    warning: Could not find object file "/Users/Glam/Library/Developer/Xcode/DerivedData/ClangFormat-gtoosagpqhsosbewemdtdfqrwhvr/Build/Intermediates/ClangFormat.build/Debug/ClangFormat.build/Objects-normal/x86_64/TRVSXcode.o" - no debug information available for "TRVSXcode.m".
    
    warning: Could not find object file "/Users/Glam/Library/Developer/Xcode/DerivedData/ClangFormat-gtoosagpqhsosbewemdtdfqrwhvr/Build/Intermediates/ClangFormat.build/Debug/ClangFormat.build/Objects-normal/x86_64/TRVSPreferences.o" - no debug information available for "TRVSPreferences.m".
    
    . done
    Reading symbols for shared libraries . done
    
    Program received signal EXC_BAD_ACCESS, Could not access memory.
    Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000018
    0x00007fff957b1498 in objc_msgSend_vtable3 ()
    (gdb) next
    Single stepping until exit from function objc_msgSend_vtable3, 
    which has no line number information.
    
    Program received signal EXC_BAD_ACCESS, Could not access memory.
    Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000018
    0x00007fff957b1498 in objc_msgSend_vtable3 ()
    (gdb) 
    
  6. 我认为这个 ClangFormat.build/Debug/ClangFormat.build 是个问题,因为我试图安装Clangformat项目https://github.com/travisjeffery/ClangFormat-Xcode。遵循自述文件中给出的步骤。

    1. 卸载Xcode used command
    2.   

      sudo / Developer / Library / uninstall-devtools --mode = all

      尝试启动应用程序时,我得到alet message

      选择"不要打开"或"重新打开"我得到" Xcode意外退出"这个窗口包含日志,如附图Second alert

      所示

      请帮我解决这个问题。

0 个答案:

没有答案