1、前言

今天使用Xcode6,突然提示我"the file “XXX” could not 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

 

2、解决方法

 
 
方案1:clean 试一下 

 

 

 

 

 

方案2:查看工程中警告,发现需要更新旧工程的设置:
the file couldn't be opened because you don't have permission to view it
 
点击Upate to reconmmented settings,打开如下窗口:
the file couldn't be opened because you don't have permission to view it
 
选择Perform Changes,再次运行OK!
 
 
 
方案3:Project---Build Setting中 修改这一项,变成Default Compiler(Apple LLVM 6.0) 

相关文章:

  • 2022-12-23
  • 2021-09-18
  • 2021-09-14
  • 2021-09-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-25
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-26
  • 2021-07-27
相关资源
相似解决方案