Empty build errors (no error line display)

I have a current project where, when I build the associated unit test target, if there is any compile-time error in a file compiled into the main target, an empty build error occurs. That is, the messages tool window does show a build error, but with no file or line information, just a bare "Build Finished with Error: 65".

The build log shows for the failing (ie. app) target, just:

=== BUILD NATIVE TARGET XXX OF PROJECT XXX WITH CONFIGURATION Debug ===

** BUILD FAILED **



If instead I switch to build the app target directly, the error source is displayed (ie. as expected).

If I 'build for Testing" the same project (with same error) in Xcode, the error source is identified. This initially made me suspect an AppCode bug. But, on the other hand, the problem only occurs with this one project, so I'm wondering if it's an idiosyncratic problem with this project.

Does anyone have any ideas about how to troubleshoot this?
5 comments

Just a bump in case anyone has any thoughts at all. It's a killer of a problem, the first that has forced me back to Xcode (which I've almost forgotten how to use).

0

I can't seem to reproduce that. Could you please post a small test project on which this bug is reproduced reliably? Thanks.

0

No, as I said, this problem only happens with this one project. That's why I'm asking if anyone has any troubleshooting ideas, rather than reporting this as an AppCode bug. I suspect something wrong with this particular project, but am out of ideas about where to look.

The only reason I ask about this on an AppCode forum is that I don't get the issue at all in Xcode, but I still suspect the problem is really with the project.

I have tried constructing a simplified project using exactly the same dependencies as the problematic one, but that doesn't suffer the same issue.

0

I see. May I ask you to send us a .xcodeproj/.xcworkspace files so we can try to investigate why AppCode is not reporting errors? You can send them to appcode-support@jetbrains.com .

0

Thanks Dmitry. I've sent the files as requested. I would be interested if you have any ideas.

0

Please sign in to leave a comment.