首页 > 代码库 > Xcode6:The file 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

1、前言

最近为了兼容iOS8升级到Xcode6.0编译之前的工程,结果App无法在真机上运行。报错如下:The file “xxxx.app” couldn’t be opened because you don’t have permission to view it
 

2、解决方法

查看工程中警告,发现需要更新旧工程的设置:
技术分享
 
点击Upate to reconmmented settings,打开如下窗口:
技术分享
 
选择Perform Changes,再次运行OK!

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