Xcode 4上的权限被拒绝 [英] Permission Denied on Xcode 4

查看:326
本文介绍了Xcode 4上的权限被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在Xcode 4上构建任何应用程序时,我收到有关权限被拒绝的错误消息:

I'm getting error message about permission denied, when I build any app on Xcode 4:


错误:无法创建' / Users / mike / Library / Developer / Xcode / DerivedData / JewBack-ejcsrvhiqaxnzmdheqdhshjvwjng / Build / Products'(Permission denied)

error: unable to create '/Users/mike/Library/Developer/Xcode/DerivedData/JewBack-ejcsrvhiqaxnzmdheqdhshjvwjng/Build/Products' (Permission denied)

还有其他错误消息:


检查依赖关系
ProcessInfoPlistFile / Users / mike / Library / Developer / Xcode / DerivedData / JewBack-ejcsrvhiqaxnzmdheqdhshjvwjng /Build/Products/Debug-iphonesimulator/JewBack.app/Info.plist JewBack-Info.plist
cd / Users / mike / Downloads / JewBack
setenv PATH/Developer/Platforms/iPhoneSimulator.platform/开发人员/ usr / bin:/ Developer / usr / bin:/ usr / bin:/ bin:/ usr / sbin:/ sbin
builtin-infoPlistUtility JewBack-Info.plist -genpkginfo / Users / mike / Library / Developer / Xcode / DerivedData / JewBack-ejcsrvhiqaxnzmdheqdhshjvwjng / Build / Products / Debug-iphonesimulator / JewBack.app / PkgInfo -expandbui ldsettings -format binary -platform iphonesimulator -o /Users/mike/Library/Developer/Xcode/DerivedData/JewBack-ejcsrvhiqaxnzmdheqdhshjvwjng/Build/Products/Debug-iphonesimulator/JewBack.app/Info.plist
error:could not not创建目录/Users/mike/Library/Developer/Xcode/DerivedData/JewBack-ejcsrvhiqaxnzmdheqdhshjvwjng/Build/Products/Debug-iphonesimulator/JewBack.app:Permission deniederror:无法创建目录/ Users / mike / Library / Developer / Xcode / DerivedData / JewBack-ejcsrvhiqaxnzmdheqdhshjvwjng / Build / Products / Debug-iphonesimulator / JewBack.app:Permission deniederror:文件Info.plist不存在。

Check dependencies ProcessInfoPlistFile /Users/mike/Library/Developer/Xcode/DerivedData/JewBack-ejcsrvhiqaxnzmdheqdhshjvwjng/Build/Products/Debug-iphonesimulator/JewBack.app/Info.plist JewBack-Info.plist cd /Users/mike/Downloads/JewBack setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" builtin-infoPlistUtility JewBack-Info.plist -genpkginfo /Users/mike/Library/Developer/Xcode/DerivedData/JewBack-ejcsrvhiqaxnzmdheqdhshjvwjng/Build/Products/Debug-iphonesimulator/JewBack.app/PkgInfo -expandbuildsettings -format binary -platform iphonesimulator -o /Users/mike/Library/Developer/Xcode/DerivedData/JewBack-ejcsrvhiqaxnzmdheqdhshjvwjng/Build/Products/Debug-iphonesimulator/JewBack.app/Info.plist error: couldn't create directory /Users/mike/Library/Developer/Xcode/DerivedData/JewBack-ejcsrvhiqaxnzmdheqdhshjvwjng/Build/Products/Debug-iphonesimulator/JewBack.app: Permission deniederror: couldn't create directory /Users/mike/Library/Developer/Xcode/DerivedData/JewBack-ejcsrvhiqaxnzmdheqdhshjvwjng/Build/Products/Debug-iphonesimulator/JewBack.app: Permission deniederror: The file "Info.plist" doesn’t exist.


推荐答案

好的。您似乎可能被限制在系统中创建Build Folder。尝试下面的程序,在项目文件夹中创建构建文件夹。

Ok. It seems you may be restricted to create Build Folder in your system. Try out below procedure which creates Build Folder in project folder itself.

XCode 菜单 - > 偏好设置 - - > 地点标签 - >在地理位置派生数据更改为相对,并在文本框中输入任意名称。我已经给出了构建。此文件夹将在项目文件夹中为内置二进制文件创建。

In XCode Menu --> Preferences --> Locations Tab --> In Locations Change Derived Data to Relative and Give any name in text box. I have given Build. This folder will be created in your project folder for built binaries.

这篇关于Xcode 4上的权限被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆