Base項目是在Xcode7上創建的,升級Xcode8以後,編譯時候提示錯誤: The file “base.app” couldn’t be opened because you don’t have permission to view it. 應該是由於Build Settings->Buil ...
Base項目是在Xcode7上創建的,升級Xcode8以後,編譯時候提示錯誤:
The file “base.app” couldn’t be opened because you don’t 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變為紅色,重新編譯運行即可