构建项目xcode时出错:“您没有权限” [英] Error while build project xcode says : "you don't have permission"

查看:1551
本文介绍了构建项目xcode时出错:“您没有权限”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,这可能是一个愚蠢的问题,可能会被问到,但我没有得到适当的解决方案。我从互联网上下载了一个项目,当我试图运行它/构建它时,xCode说:

Hello may be this is silly question and may be asked before it but I am not getting proper solution for this. I have downloaded one project from the internet and when I am trying to run it/build it the xCode says :


文件PROJECT NAME 无法打开,因为你没有权限查看它。

The file "PROJECT NAME" couldn’t be opened because you don’t have permission to view it.

我还把读/写对项目文件夹的权限,但仍然无法正常工作。

I have also put read/write permission to the project folder as well but still not working.

任何人都知道为什么会这样吗?请帮我解决这个问题

Can anybody have idea why this is happen? Please help me to resolve this issue

推荐答案

转到Finder中包含项目的文件夹。

Go up to the folder containing the project in your Finder.

右键单击>获取信息

转到信息窗格的底部,然后单击小锁,在提示时输入您的密码。

Go to the bottom of the Info pane, and click the little lock, type in your password when prompted.

然后,更改您自己的读取+写入权限。

Then, change permissions for yourself to read+write.

单击下面的小装备,并适用于所有随附的物品。

Click the little gear below, and apply to all enclosed items.

完成后关闭锁!

如果这不起作用,将Compiler for C / C ++ / Objective-C的值更改为构建选项下的默认编译器

If this doesn't work, Change the value of "Compiler for C/C++/Objective-C" to Default Compiler under BUILD OPTIONS

这篇关于构建项目xcode时出错:“您没有权限”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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