解决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拖放到屏幕下方工具栏的“应用程序”文件夹里面,路径错了!其实直接拖放到工具栏上就行了。有时拖放到桌面上也会遇到此问题。

参见国外网址:[url]http://forums.whirlpool.net.au/archive/977205[/url]
原贴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.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值