首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 操作系统 >

解决Xcode 4.0.1 and iOS SDK4.3装配后无法启动Xcode

2012-07-28 
解决Xcode 4.0.1 and iOS SDK4.3安装后无法启动Xcode!我是用虚拟机安装的Mac OS X 10.6.6并更新到10.6.8Xc

解决Xcode 4.0.1 and iOS SDK4.3安装后无法启动Xcode!
我是用虚拟机安装的Mac OS X 10.6.6并更新到10.6.8
Xcode 4.0.1 and iOS SDK4.3

安装一切正常,我以为都OK了``可是当我要运行Xcode时,
却提示“由于某个问题,Xcode不能打!”
部分详细提示如下:
Process:         Xcode [308]
Path:            /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:      com.apple.dt.Xcode
Version:         ??? (???)
Build Info:      IDEApplication-990000~49
Code Type:       X86-64 (Native)
Parent Process:  launchd [89]
Date/Time:       2011-07-22 10:02:21.374 +0800
OS Version:      Mac OS X 10.6.8 (10J869)
Report Version:  6
Interval Since Last Report:          6804 sec
Crashes Since Last Report:           9
Per-App Crashes Since Last Report:   9
Anonymous UUID:                      2ABBCD94-AB7C-4C52-8198-3AC4A1C2BCAC
Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0
Dyld Error Message:  Library not loaded: @rpath/DVTFoundation.framework/Versions/A/DVTFoundation
Referenced from: /Applications/Xcode.app/Contents/MacOS/Xcode
Reason: image not found
BinaryImages:    0x7fff5fc00000 -     0x7fff5fc3bdef  dyld 132.1 (???) <69130DA3-7CB3-54C8-ABC5-423DECDD2AF7> /usr/lib/dyld
......................................................................
......................................................................

  弄了半天搞不定,不知是什么原因,害得我又是重装系统又是重装xcode,还是不行。后来在国外外网站上看在一个帖子,总算弄明白了。原来是xcode的路径不正确。
  xcode安装成功后,为了每次能够快速打开,我把在/developer/Applications/目录中的xcode拖放到屏幕下方工具栏的“应用程序”文件夹里面,路径错了!其实直接拖放到工具栏上就行了。有时拖放到桌面上也会遇到此问题。

参见国外网址:http://forums.whirlpool.net.au/archive/977205
原贴RomanT 提问:

Dyld Error Message:
Library not loaded: @rpath/DevToolsFoundation.framewor- k/Versions/A/DevToolsFoundation
Referenced from: /Applications/Xcode.app/Contents/M- acOS/Xcode
Reason: image not found

anyone seen this before?

Macpomme回复:
Where did you install XCode?

Older versions, I believe, had to be installed into a specific location.

RomanT 追问:
Steve - I reinstalled it last night, to no avail.

Venom - default directory. This is the latest xcode from my knowledge.

I don't use it - but I don't like things not working, so I want to fix it, just in the case I decide to tinker with it one day.

Steve Joynt 回复:
My XCode is in /Developer/Applications, but from the error message it looks like yours is in /Applications. Did you move it by any chance? Are you running Leopard?

RomanT 回复:
Steve - you're the man!

I was playing with aliases, and obviously ended up having a copy in my /Applications folder. I use Quicksilver, and always asked for XCode, and by default it just grabbed on from /Applications as opposed to /Developer/Applications.

all is good now.

Many thanks.

热点排行