I updated my iPad to iOS 7, and discovered that the Enterprise app that I have been working on for over a year crashes. OK, no problem, I'll see where in Xcode it's crashing.

OK, Problem: I have to upgrade to Xcode 5 to debug iOS 7. OK, no problem, I'll upgrade to Xcode 5.

OK, Problem: The source code in Xcode 5 now shows 19 errors: One in NSObject.h, three in UIStringDrawing.h, and the rest in UIAccelerometer.h.

And, for a bonus, it adds one at the bottom, "Too many errors emitted, stopping now." Which is not all that comforting.

I've really scoured the internet for answers, but I must be using the wrong search terms because I am finding nothing that addresses this. Surely I am not the only one.

I have been developing iOS apps for almost two years now, I think, but I am still pretty stupid when it comes down to the nitty-gritty stuff. I usually just hit "Run" and hope it works. So far that has been a pretty effective strategy, but now I am stumped.

Can anyone tell me what I am doing wrong? Except the obvious, being that I should have left everything well enough alone.

I will also have to update my previous app, because it has iOS 7 issues too, but it scares me to even think of it.

I appreciate any help anyone can give.