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 the file "xxx.app" couldn't be opened because you don't have permission to view it.)