The file “base.app” couldn’t be opened because you don’t have permission to view it.

Posted 吾将上下而求索

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了The file “base.app” couldn’t be opened because you don’t have permission to view it.相关的知识,希望对你有一定的参考价值。

Base项目是在Xcode7上创建的,升级Xcode8以后,编译时候提示错误:

The file base.app couldnt be opened because you dont have permission to view it.

应该是由于Build Settings->Build Options->Compiler for C/C++/Objective-C的LLVM版本变化导致。

 

解决办法:

1.找到Xcode项目文件目录Products,右键->在Finder中查看

2.删除项目文件目录Products下的xxx.app

3.此时xxx.app变为红色,重新编译运行即可

以上是关于The file “base.app” couldn’t be opened because you don’t have permission to view it.的主要内容,如果未能解决你的问题,请参考以下文章