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!
原文地址:https://www.cnblogs.com/lisa090818/p/4244497.html