the file “XXX” could not be opened because you don't have permission to view it

Xcode运行出现the file “XXX” could not be opened because you don't have permission to view it这个弹框, 问题出现在哪里呢, 这个你得工程名出现了问题, 只要更改一下工程名即可:  下面直接贴图⬇️


在Build settings->Product Name项修改.Product Name项默认是$(TARGET_NAME),可以修改任意app名称,


the file “XXX” could not be opened because you don't have permission to view it_第1张图片

修改成功了,就会看到下面效果图,问题就解决了


the file “XXX” could not be opened because you don't have permission to view it_第2张图片

看过对你有帮助,记得点赞

你可能感兴趣的:(the file “XXX” could not be opened because you don't have permission to view it)