错误:the file 'xxx.app' couldn't be opened because you don't have permission to view it

错误

run了之后就报这个错,the file ‘xxx.app’ couldn’t be opened because you don’t have permission to view it

错误:the file 'xxx.app' couldn't be opened because you don't have permission to view it_第1张图片

解决方案(按照可能性由大至小):

1.可能是info.list的Executable file 与building set 中的product_name不一致造成的 , 修改后的结果如下图:
错误:the file 'xxx.app' couldn't be opened because you don't have permission to view it_第2张图片
2.clean 工程.
3.把organizer中以前的data数据全清掉
4.把“Compiler for C/C++/Objective-C” 改成 Default Compiler

5.工程陈旧,编译时会报警告,然后点警告Update to reconmmented settings 就可以了

你可能感兴趣的:(Permission,错误)