Xcode6:Thefilecouldn’tbeopenedbecauseyoudon’thavepermissiontoviewit

1、前言

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

2、解决方法

查看工程中警告,发现需要更新旧工程的设置:
Xcode6:The file couldn’t be opened because you don’t have permission to view it

点击Upate to reconmmented settings,打开如下窗口:
Xcode6:The file couldn’t be opened because you don’t have permission to view it

选择Perform Changes,再次运行OK!

新闻标题:Xcode6:Thefilecouldn’tbeopenedbecauseyoudon’thavepermissiontoviewit
分享地址:http://myzitong.com/article/pccehd.html