您无权将文件"988BF072-A4B9-4ABE-9FB8-2F3A8EBC2E2C"保存在"CoreSimulator"文件夹中 [英] You don’t have permission to save the file “988BF072-A4B9-4ABE-9FB8-2F3A8EBC2E2C” in the folder “CoreSimulator”
问题描述
此文件夹存在.
我尝试将其移至垃圾箱(它再次出现,然后弹出此消息).
I've tried moving it to the trash (it reappears and then this message pops up).
我已将所有随附文件夹的所有权限重置为R + W.
I've reset all permission to all enclosed folders to R+W.
我已经修复了驱动器上的权限.
I've repaired permissions on my drive.
插入真实电话可以正常工作(可能不相关).
Plugging in a real phone works fine (probably not relevant).
推荐答案
列出该日志文件的实际文件夹不存在.
Turns out the actual folder for the log file didn't exist.
在Console.app中查看,在CoreSimulator上进行过滤时,我看到了:
When looking in Console.app, filtering on CoreSimulator, I saw this:
15年3月15日9:50:52.840 iOS模拟器[7291]:打开错误 /Users//Library/Logs/CoreSimulator/iOS Simulator.log
3/15/15 9:50:52.840 AM iOS Simulator[7291]: Error opening /Users//Library/Logs/CoreSimulator/iOS Simulator.log
当我进入Logs目录时,CoreSimulator不在那儿,所以我:
When I went to the Logs directory, CoreSimulator wasn't there, so I:
sudo mkdir CoreSimulator
sudo chown <user>:staff CoreSimulator
touch CoreSimulator/iOS\ Simulator.log
这篇关于您无权将文件"988BF072-A4B9-4ABE-9FB8-2F3A8EBC2E2C"保存在"CoreSimulator"文件夹中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!