MonkeyDev运行报错 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.
You don’t have permission.
To view or change permissions, select the item in the Finder and choose File > Get Info.

Details
The file “xxx.app” couldn’t be opened because you don’t have permission to view it.
Domain: NSCocoaErrorDomain
Code: 257
Failure Reason: You don’t have permission.
Recovery Suggestion: To view or change permissions, select the item in the Finder and choose File > Get Info.
User Info: {
NSFilePath = "/Users/mmm/Library/Developer/Xcode/DerivedData/xxx-ahrkmkwhqghenweibcszuacjdseo/Build/Products/Debug-iphoneos/xxx
The operation couldn’t be completed. Permission denied
Domain: NSPOSIXErrorDomain
Code: 13
Failure Reason: Permission denied


好像是权限问题,看了下目录是可读可写的

楼主解决了吗 我也遇到了同样的问题

具体还不清楚,应该是包名不对应,修改了DiaplayName然后就报错了,不修改的话没问题
可我又想修改应用的名字

https://github.com/AloneMonkey/MonkeyDev/issues/129

https://github.com/AloneMonkey/MonkeyDev/issues/132

我也遇到过,解决方案如下:
1.不能直接在General里修改dispaly name,如果需要修改app名字,需要在plist文件下修改;
2.同时genral的dispaly name也会相应的变化,(但如果已经在general下修改了名字,是不可逆的,也就是说重新修改回去仍然无法解决问题);
3.最关键一步:在build setting 搜索module name 还是product name来着,你会发现这个字段的值还是你修改后的名字,需要改回修改前的名字(因为这个影响linke map file的路径,这也是为啥报错原因,因为影响了monketDev的编译后的执行文件名字);完美解决!

2 个赞

请问我修改了依旧不行啊