升级 Mac OS Lion 和 Xcode 4.1 时出现错误

发布于 2024-11-30 10:14:36 字数 1132 浏览 0 评论 0原文

即使只是创建一个简单的 hello world 项目,我也遇到了很多错误

它显示:

检查依赖项

error: unable to create '/Users/webberlai/Library/Developer/Xcode/DerivedData/HelloWorld-bnwywshtalciqpgaeaznkzexibsz/Build/Intermediates' (Permission denied)

处理 HelloWorld/HelloWorld-Info.plist

error: couldn't create directory /Users/webberlai/Library/Developer/Xcode/DerivedData/HelloWorld-bnwywshtalciqpgaeaznkzexibsz/Build/Products/Debug-iphoneos/HelloWorld.app: Permission denied

The file “Info.plist” doesn’t exist.

还有

error: couldn't create directory /Users/webberlai/Library/Developer/Xcode/DerivedData/HelloWorld-bnwywshtalciqpgaeaznkzexibsz/Build/Products/Debug-iphoneos/HelloWorld.app: Permission denied

error: open /Users/webberlai/Library/Developer/Xcode/DerivedData/HelloWorld-bnwywshtalciqpgaeaznkzexibsz/Build/Products/Debug-iphoneos/HelloWorld.app/ResourceRules.plist: No such file or directory

我错过了什么吗???(我'我开始怀念我的 Mac OS 10.6.8 和 Xcode 4.0 ...)

顺便说一句,cocos2D 现在也不起作用...

我需要重新安装我的 Mac 吗?

I got many error even just create a simple hello world project

It shows :

Check dependencies

error: unable to create '/Users/webberlai/Library/Developer/Xcode/DerivedData/HelloWorld-bnwywshtalciqpgaeaznkzexibsz/Build/Intermediates' (Permission denied)

Process HelloWorld/HelloWorld-Info.plist

error: couldn't create directory /Users/webberlai/Library/Developer/Xcode/DerivedData/HelloWorld-bnwywshtalciqpgaeaznkzexibsz/Build/Products/Debug-iphoneos/HelloWorld.app: Permission denied

The file “Info.plist” doesn’t exist.

also

error: couldn't create directory /Users/webberlai/Library/Developer/Xcode/DerivedData/HelloWorld-bnwywshtalciqpgaeaznkzexibsz/Build/Products/Debug-iphoneos/HelloWorld.app: Permission denied

error: open /Users/webberlai/Library/Developer/Xcode/DerivedData/HelloWorld-bnwywshtalciqpgaeaznkzexibsz/Build/Products/Debug-iphoneos/HelloWorld.app/ResourceRules.plist: No such file or directory

Did I miss anything ???(I'm start miss my Mac OS 10.6.8 with Xcode 4.0 ...)

BTW,cocos2D also doesn't work now ...

Do I need to reinstall my Mac ??

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

尐籹人 2024-12-07 10:14:36

您可以尝试在“磁盘工具”应用程序中修复权限,以确保一切正常。

我要检查的另一件事是目录和文件名的大小写是否与文件系统上的实际名称匹配。如果应用程序有问题并且错误地认为 Hello 和 hello 不同(或相同,具体取决于您的 Mac 设置方式),您可能会收到一些奇怪的权限错误。

希望有帮助。

You can try repair permissions in the Disk Utility app just to make sure everything is OK.

The other thing I would check is that the case of your directory and file names match what's actually on the filesystem. You can get some weird permission errors if the app is buggy and mistakenly considers Hello and hello to be different (or the same, depending on how your mac is setup).

Hope that helps.

早茶月光 2024-12-07 10:14:36

好吧,我可能找到了原因,当我安装 Xcode 4.1 时,

它显示我有旧版本的 Xcode,安装程序将删除它。

它没有清楚地删除......这就是为什么我收到这么多错误

所以解决方案是重新安装整个系统和Xcode 4.1

然后,安装cocos2D-iphone,它工作正常。

OK,I might found the reason , When I install the Xcode 4.1

It shows I have old version of Xcode , and the installer will remove it.

It doesn't remove clearly ... that why I got so many error

So the solution is reinstall whole system and Xcode 4.1

After then ,install the cocos2D-iphone , it works fine.

旧街凉风 2024-12-07 10:14:36

最后我重新安装了我的所有系统并回到10.6.8

比为OS 10.6安装XCODE 4.1

这是一个糟糕的解决方案,需要备份很多文件......

Finally I reinstall my all system and back to 10.6.8

Than install XCODE 4.1 for OS 10.6

This is a bad solution , need to backup many files ...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文