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)
|
