项目文件无法构建错误您无权查看它

时间:2014-12-08 07:05:37

标签: android ios iphone xcode file

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

无法打开“PROJECT NAME”文件,因为您无权查看该文件。

有谁知道为什么会这样?请帮我解决这个问题

1 个答案:

答案 0 :(得分:0)

    Take your Projects build Setting
    > In Architecture section make sure that Architectures and Valid Architectures are the same. If any extra Architecture is present in Valid Architecture section please remove it and then try building the code, It will work.![enter image description here][1]

enter image description here

Here in the image edit the section marked as red.