Can't run iPhone simulator - file “Logs” couldn't be saved

£可爱£侵袭症+ 提交于 2019-12-04 22:40:13

Try to reset the Ios Simulator settings it worked for me!

iOS Simulator -> Reset Content and Settings...

Just to make it more clear (In addition to @storm's answer):

I suspect that you manually deleted ~/Library/Logs/CoreSimulator and the error message is because the sim is failing to create the ~/Library/Developer/CoreSimulator/Devices//data/Library/Logs symlink because it already exists.

You should be able to get out of this situation by resetting the device by running 'xcrun simctl erase [udid]'

I solved this (Xcode 7.1) with:

find ~/Library/Developer/XCPGDevices -name Logs* -exec rm -fr {} \;
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!