问题描述:

I am developing an iPhone app. Since I upgraded from Xcode 5 to Xcode6, it's been hell. Xcode 6 would crash for no reason at all, and each crash would leave my code in some inconsistent state: where some of my pre-crash work is saved and some others aren't. After many of these crashes, I updated to 6.1. Now 6.1 does not crash but it does something worse: whenever I change one thing, anything, in a xib file or in storyboard, something else, completely unrelated, is automatically changed. It's like Xcode has an imbecile mind of its own. If I add a UIButton, some UIView somewhere else, could be in another UIViewController, will resize, or disappear, or change state in Attributes Inspector, or lose an IBAction connection. So yes it's a wild ride. The reason I needed Xcode 6 is so that I could develop for iOS-8. Anyway, now I am ready to uninstall Xcode entirely and then try re-installing. But I don't want to break my entire computer. So, someone with knowledge, please tell me, are there any dangers to uninstalling Xcode?

网友答案:

No, it's definitely not dangerous.

You should be able to remove any additional installed program from your Mac by simply moving it to the trash without breaking your Mac. Since Xcode 4 Xcode can be counted as a standard self contained Mac app that can simply be (re)moved from/to your Mac.

Even the commad line tools should stay installed.

(Did you tried deleting DerivedData? That solves nearly every problem you can get with Xcode)

相关阅读:
Top