Xcode 4.6.3的xcodebuild内部错误

时间:2013-06-24 02:50:20

标签: xcode xcodebuild

我在Lion上将Xcode更新为4.6,并删除了/ Developer目录。

然后,当我尝试执行xcodebuild时,我收到了这个错误。

xcodebuild 
xcodebuild: error: developer tools not installed; download from http://developer.apple.com

我在Xcode应用程序中软链接了xcodebuild:

sudo ln -s /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild /usr/bin/xcodebuild

然而这一次,我收到了内部错误。

> === BUILD NATIVE TARGET gv OF PROJECT grapevine WITH THE DEFAULT CONFIGURATION (Debug) === Check dependencies
> 
> ** INTERNAL ERROR: Uncaught exception ** Exception: *** -[__NSArrayM insertObject:atIndex:]: object cannot be nil Stack:   0 
> 0x00007fff915d8f3a __exceptionPreprocess (in CoreFoundation)   1 
> 0x00007fff91081d5e objc_exception_throw (in libobjc.A.dylib)   2 
> 0x00007fff9157fab8 -[__NSArrayM insertObject:atIndex:] (in
> CoreFoundation)   3  0x0000000103732337 -[XCDependencyCommand
> createStartedCommandInvocation] (in DevToolsCore)   4 
> 0x00000001037e081b -[Xcode3BuildTask main] (in DevToolsCore)   5 
> 0x00007fff933126b4 -[__NSOperationInternal start] (in Foundation)   6 
> 0x00007fff93325912 ____NSOQSchedule_block_invoke_2 (in Foundation)   7
> 0x00007fff8ef7ca82 _dispatch_call_block_and_release (in
> libdispatch.dylib)   8  0x00007fff8ef7d961 _dispatch_worker_thread2
> (in libdispatch.dylib)   9  0x00007fff909f23da _pthread_wqthread (in
> libsystem_c.dylib)  10  0x00007fff909f3b85 start_wqthread (in
> libsystem_c.dylib)

中止陷阱:6

可能有什么问题?我有xcode 4.6.3。

xcodebuild -version
Xcode 4.6.3
Build version 4H1503

1 个答案:

答案 0 :(得分:0)

重新安装没有解决问题,清空垃圾箱(最好是重新启动)删除了此错误消息。