How to prevent Xcode 4 from crashing with git branch when the project file changes?
When the project f开发者_运维技巧ile is different between two branches (say, we added a new source file), switching git branches causes Xcode 4 to crash. What's a good solution to this?
I've noticed the same thing. The only workaround I've found is to close Xcode, do any branch changes I need, then reopen Xcode. Not the best solution, especially if you're switching branches frequently, but it seems to work. Ultimately it's probably something Apple will have to address as Joshua mentioned. Good luck!
If it's crashing, it's a bug and needs to be reported to Apple via http://bugreporter.apple.com so they can fix it.
精彩评论