No such file or directory:Failed to chmod /Users/hthy/Library/Developer/CoreSimulator/Devices/125D87

项目更换Bundle identifier后运行模拟器,报错:

Failed to chmod /Users/hthy/Library/Developer/CoreSimulator/Devices/125D8718-7FA1-45F9-BDFF-6681ADA88467/data/Library/Caches/com.apple.containermanagerd/Bundle/Application/E6EFADBF-8550-4E9C-B71E-90CB949560BC/app名称.app/app名称 : No such file or directory

提示找不到文件,这其实是缓存问题,问题不大!

解决:

1.打开Finder  command+shift+G 进入提示目录 删除Caches文件里的内容  Xcode再Clean 一下。

2.如果你使用的7的模拟器,可以用7p的模拟器试下,再返回到7的模拟器删除掉app重新运行下

3.直接真机(真机是没问题的),过一会儿你再回到模拟器的时候你会发现屁事都没了。



你可能感兴趣的:(Objective-C)