Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XCode 4 errors/warnings dont jump to code when i click them

Tags:

xcode

warnings

Hey this is a small issue with XCode 4 that is annoying me. When i click on warnings or compile errors on the left hand panel, I am not taken to where the error is on the code. This used to work in XCode 3.x but no more.

Anyone else seen this?

like image 227
Stoff81 Avatar asked May 04 '11 00:05

Stoff81


2 Answers

Ive found a way that works more often than not...

In the left hand panel, click on the "Show the log navigator", its the button which looks like a speech bubble. Now underneath will show the logs for every build. This is like the old Xcode, and will show errors/warnings. When you double click on the errors it will open the file to the line of the error.

like image 101
Stoff81 Avatar answered Oct 29 '22 14:10

Stoff81


I had this same problem and fixed it by switching the compiler from LLVM GCC 4.2 to LLVM Version 2.0.

like image 25
Matt Sonic Avatar answered Oct 29 '22 12:10

Matt Sonic