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

Posted dreamDeveloper

tags:

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

 

1、前言

今天使用Xcode6,突然提示我"the file “XXX” could not be opened because you don‘t have permission to view it"  说我没有权限. 如下图

技术分享

 

2、解决方法

 
 
方案1:clean 试一下 
 
技术分享

 

 

 

 

 

方案2:查看工程中警告,发现需要更新旧工程的设置:
技术分享
 
点击Upate to reconmmented settings,打开如下窗口:
技术分享
 
选择Perform Changes,再次运行OK!
 
 
 
方案3:Project---Build Setting中 修改这一项,变成Default Compiler(Apple LLVM 6.0) 
 
技术分享


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

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

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.问题

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

Xcode6:The file couldn’t be opened because you don’t have permission to view it

iOS模拟器URLWithString The operation couldn't be completed. (Cocoa error 256.)