开发者

Xcode Bus Error When Compiling

My iPhone app was compiling just fine, then all of the sudden, it started failing to compile, with the error:

LLVM GCC 4.2 Error Internal Compiling Error: Bus Error 10

It compiles just fine for the simulator but it won't build to a device. I have tried what seems like everything, and nothing works. There is no stack trace that I can post. Additionally, the code is too long to paste all of it here since I can't be sure exactly where the problem is (again, no stack trace).

How can I narrow this dow开发者_高级运维n?

EDIT: I KNOW that I tried this before, but setting the compiler to GCC instead of LLVM GCC successfully compiled the app. I wish I knew the reason why Xcode was behaving this way, but for now all I can chalk this up to is ghosts.


I've often gotten this error when there's some syntax error and the compiler can't move forward. Older versions of Xcode used to say something like this:

confused by earlier errors, bailing out

(I suspect it's the same thing internally.)

Go back and cheek your recent changes. I'll bet it's a semicolon or quote missing somewhere. This is why we are supposed to hit compile more than once an hour. I've had this before. It's not a major disaster. You didn't break any of the dev tools. Just review your code and look fr the syntax error.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜