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.]
这个错误的解决办法就是将info.plist文件中的Executable file的值改为$(PRODUCT_NAME)
原因就是build settings栏中的Packaging中的Product Name 值和Executable file的值不一致
本文介绍了解决iOS开发中出现的“无法打开文件因为没有查看权限”这一错误的方法。通过修改info.plist中的Executablefile值为$(PRODUCT_NAME),确保与Build Settings中的ProductName一致。

195

被折叠的 条评论
为什么被折叠?



