iOS--The file “XXX.app” couldn’t be opened because you don’t have permission to view it.
2016-12-13 13:59
579 查看
如图:
![](http://images0.cnblogs.com/blog2015/795246/201508/162019138329784.png)
造成的原因:
info文件中的字段Executable file 与 build settings栏中的Packaging中的Product Name 不一致就会导致上述截图的问题
解决办法:
讲info.plist的文件中的Executable.file中的文件修改为:$(PRODUCT_NAME)
修改之前
![](http://images0.cnblogs.com/blog2015/795246/201508/162020275209371.png)
修改之后:
![](http://images0.cnblogs.com/blog2015/795246/201508/162019138329784.png)
造成的原因:
info文件中的字段Executable file 与 build settings栏中的Packaging中的Product Name 不一致就会导致上述截图的问题
解决办法:
讲info.plist的文件中的Executable.file中的文件修改为:$(PRODUCT_NAME)
修改之前
![](http://images0.cnblogs.com/blog2015/795246/201508/162020275209371.png)
修改之后:
![](http://images0.cnblogs.com/blog2015/795246/201508/162024043172539.png)
相关文章推荐
- IOS编译报错-The file “XXX.app” couldn’t be opened because you don’t have permission to view it.
- iOS the file "xxx.app" couldn't be opened because you don't have permission to view it.
- 【iOS问题】The file “XXX.app” couldn’t be opened because you don’t have permission to view it.
- 【iOS问题】The file “XXX.app” couldn’t be opened because you don’t have permission to view it.
- ios常见问题——The file “XXX.app” couldn’t be opened because you don’t have permission to view it.
- 【iOS问题】The file “XXX.app” couldn’t be opened because you don’t have permission to view it.
- 【iOS问题】The file “XXX.app” couldn’t be opened because you don’t have permission to view it.
- iOS 报错:没有查看权限the file "xxx.app" couldn't be opened because you don't have permission to view it.
- 【 ac38 iOS问题】The file “XXX.app” couldn’t be opened because you don’t have permission to view it.
- 【iOS问题】The file “XXX.app” couldn’t be opened because you don’t have permission to view it. 当引入第三方
- 【iOS问题】The file “XXX.app” couldn’t be opened because you don’t have permission to view it.
- iOS The file “XueBa.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.
- The file “XXX.app” couldn’t be opened because you don’t have permission to view it.
- iOS 编译出现The file “xxx” 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.
- the file "xxx.app" couldn't be opened because you don't have permission to view it.
- iOS开发79-Xcode报错:The file “XXX” couldn’t be opened because you don’t have permission to view it.的解决方法
- The file “base.app” couldn’t be opened because you don’t have permission to view it.
- The file “XXX” couldn’t be opened because you don’t have permission to view it.解决方法: