XCode 5.x + Maverick crashes on File operations

风格不统一 提交于 2019-12-05 06:32:59

After some digging I found the solution in this post:

https://discussions.apple.com/message/23567487?tstart=0#23567487?tstart=0

Apparently, the .DS_Store files are confusing XCode quite a bit and removing all of them seem to resolve the problem (note that doing so might wipe some meta data from the folders containing it, like the icon position on the desktop).

From a cursory analysis it seems like the problem is generated only by .DS_Store files created by prior versions of the Operating System (e.g. Lion and Mountain Lion), as the new one doesn't seem to trigger the problem (this might be of some confort to those, like me, who want the icons in a specific place on their Desktops...).

Hope this helps

UPDATE: I have verified that this behavior is triggered by the newly created .DS_Store files as well. Until Apple solves this (embarrassing...) problem, I have installed on my system a one line script to clean a directory (and all it's children) of all .DS_Store files:

#!/bin/bash

find "$1" -name ".DS_Store" -exec rm -v "{}" ";"

and I run it periodically (or when a crash ensues) on the directories I visit with XCode to arginate the problem.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!