The file * couldn't be opened because you don't have permission to view it

Posted 相对而不绝对

tags:

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

The file * couldn\'t be opened because you don\'t have permission to view it. 

最近,经常在接收别人的代码时出现,出现的原因的可能性也有很多,现在我列举一部分:

 第一种:查看工程中警告,发现需要更新旧工程的设置:

          

        双击警告,在弹出的更新,更新设置。

       

 

 第二种:Project---Build Setting中 修改这一项,变成Default Compiler(Apple LLVM X)            

       

 

 第三种:直接product -clean一下就ok.

 第四种:清除缓存

          Xcode->Preferences->

 

 第五种:把info.list的Executable file 与building set 中的product_name改成一致,例如都为$(PRODUCT_NAME)

   

 

 第六种:编译文件是否添加,或添加完毕。

 

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

打开CentOS7的终端显示:couldn't get a file descriptor referring to the console。中文意思是:无法获取指向控制台的文件描述符

quartz报错 Couldn't retrieve job because the BLOB couldn't be deserialized: null

bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: lxml. Do you

iOS开发—— Couldn't add the Keychain Item

The file “XXX” couldn’t be opened because you don’t have permission to view it.解决方法

解决The file “FWLifeApp” couldn’t be opened because you don’t have permission to view it.问题