安装 Xcode 3.2.3 后尝试构建任何内容时出错
我最近刚刚安装了最新版本的 Xcode 以及 ios 4.0.2 sdk,并从名为 xcode_3.2.3_andios_4.0.2.dmg 的 Apple 开发人员网站下载了磁盘映像。我过去版本的 xcode 来自雪豹安装盘。安装后,当我尝试构建任何内容(包括新项目)时出现错误:
错误:无法执行“/Developer/usr/bin/gcc-4.2”(没有这样的文件或目录)
有人有任何想法吗至于出了什么问题以及如何让 Xcode 再次工作?
I just recently installed the latest verson of Xcode as well as the ios 4.0.2 sdk with the disk image downloaded off of the apple developer site named xcode_3.2.3_andios_4.0.2.dmg. My past version of xcode came off of the snow leopard install disk. After the install I get an error when I try to build anything including a new project that states :
error: can't exec '/Developer/usr/bin/gcc-4.2' (No such file or directory)
Does anybody have any ideas as to what went wrong and how I can get Xcode working again?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您缺少安装 Xcode 时应安装的 UNIX 开发文件和程序吗?重新运行 Xcode 安装程序并确保它们已被选中。
如果您在“关于 Xcode 和 iPhone SDK”PDF 中找到“安装”部分(在磁盘映像中,安装程序包本身旁边),您将看到对您缺少的文件的引用:
You're missing the UNIX development files and programs that should be installed when you install Xcode? Re-run the Xcode installer and make sure they are selected.
If you find the "Installation" section in the "About Xcode and iPhone SDK" PDF (in the disk image, along side the installer package itself) you'll see reference to the files you're missing: