Xcode 4和cocos2D 1.0.0 beta未分类的错误,并且Info.plist不存在

| 我刚刚安装了xcode 4 sdk和cocos2d 1.0.0 beta模板。 我刚刚使用cocos2d模板创建了一个新项目。 但是当我构建时,出现了以下错误: (有关信息,我以前使用xcode 3开发的项目有相同的问题) 警告:无法将\'com.apple.XcodeGenerated \'标签添加到\'/ Users / Benoit / Library / Developer / Xcode / DerivedData / xcode4-bswxazfuwbsguiasyatbtlmvbpps / Build / Intermediates / xcode4.build \':错误域= NSPOSIXErrorDomain代码= 2 UserInfo = 0x201dde680 \“操作无法完成。没有这样的文件或目录\” 错误:无法创建\'/ Users / Benoit / Library / Developer / Xcode / DerivedData / xcode4-bswxazfuwbsguiasyatbtlmvbpps / Build / Intermediates \'(权限被拒绝) 错误:无法创建\'/ Users / Benoit / Library / Developer / Xcode / DerivedData / xcode4-bswxazfuwbsguiasyatbtlmvbpps / Build / Products \'(权限被拒绝) 无法创建目录/Users/Benoit/Library/Developer/Xcode/DerivedData/xcode4-bswxazfuwbsguiasyatbtlmvbpps/Build/Intermediates/xcode4.build/Debug-iphonesimulator/xcode4.build/Objects-normal/i386 无法创建目录/ Users / Benoit / Library / Developer / Xcode / DerivedData / xcode4-bswxazfuwbsguiasyatbtlmvbpps / Build / PrecompiledHeaders / Prefix-dflnzjtztxdgjwhistrvvjxetfrg 无法创建目录/Users/Benoit/Library/Developer/Xcode/DerivedData/xcode4-bswxazfuwbsguiasyatbtlmvbpps/Build/Intermediates/xcode4.build/Debug-iphonesimulator/xcode4.build 无法创建目录/Users/Benoit/Library/Developer/Xcode/DerivedData/xcode4-bswxazfuwbsguiasyatbtlmvbpps/Build/Intermediates/xcode4.build/Debug-iphonesimulator/xcode4.build 无法创建目录/Users/Benoit/Library/Developer/Xcode/DerivedData/xcode4-bswxazfuwbsguiasyatbtlmvbpps/Build/Intermediates/xcode4.build/Debug-iphonesimulator/xcode4.build 无法创建目录/Users/Benoit/Library/Developer/Xcode/DerivedData/xcode4-bswxazfuwbsguiasyatbtlmvbpps/Build/Intermediates/xcode4.build/Debug-iphonesimulator/xcode4.build 无法创建目录/ Users / Benoit / Library / Developer / Xcode / DerivedData / xcode4-bswxazfuwbsguiasyatbtlmvbpps / Build / PrecompiledHeaders / Prefix-fqemzerugrwojibbegzkffljkxqs 无法创建目录/Users/Benoit/Library/Developer/Xcode/DerivedData/xcode4-bswxazfuwbsguiasyatbtlmvbpps/Build/Intermediates/xcode4.build/Debug-iphonesimulator/xcode4.build 无法创建目录/ Users / Benoit / Library / Developer / Xcode / DerivedData / xcode4-bswxazfuwbsguiasyatbtlmvbpps / Index / PrecompiledHeaders / Prefix-dbtcglhksokwygezixirqkgfipsr_ast 无法创建目录/ Users / Benoit / Library / Developer / Xcode / DerivedData / xcode4-bswxazfuwbsguiasyatbtlmvbpps / Index / PrecompiledHeaders / Prefix-gdirtpasdqzasnclnkzguimarjpd_ast 错误:无法创建目录/Users/Benoit/Library/Developer/Xcode/DerivedData/xcode4-bswxazfuwbsguiasyatbtlmvbpps/Build/Products/Debug-iphonesimulator/xcode4.app:权限被拒绝 错误:无法创建目录/Users/Benoit/Library/Developer/Xcode/DerivedData/xcode4-bswxazfuwbsguiasyatbtlmvbpps/Build/Products/Debug-iphonesimulator/xcode4.app:权限被拒绝 文件“ Info.plist”不存在。 请帮忙 !!     
已邀请:
我刚刚遇到过相同的问题-检查目录的权限:
/Users/Benoit/Library/Developer/Xcode/
就我而言,它是由root拥有的(我怀疑这是在全新安装Xcode之前安装了cocos2d模板的结果-但这可能是错误的)。将其更改为我的用户所有可解决此问题,或者在您的情况下:
sudo chown Benoit /Users/Benoit/Library/Developer/Xcode/
希望能有所帮助。 缺口     

要回复问题请先登录注册