Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

vmachiel

macrumors 68000
Original poster
Feb 15, 2011
1,774
1,440
Holland
Hi,

I'm learning Swift using playgrounds. Whenever I finish some code and there are one or more errors, xcode only shows the error text in the issue navigator. But when I want to it to tell me where in my code this error relates to I need to restart Xcode to get this to work.

Anyone experienced this and knows how to fix it?

Thanks!
 

PhoneyDeveloper

macrumors 68040
Sep 2, 2008
3,114
93
If you choose Build (command-B) it should build and show the location of any errors. I agree that it sometimes gets confused about the presence of errors.
 

vmachiel

macrumors 68000
Original poster
Feb 15, 2011
1,774
1,440
Holland
If you choose Build (command-B) it should build and show the location of any errors. I agree that it sometimes gets confused about the presence of errors.

Fixed it! Needed to enable developer mode, which I didn't do when first launching Xcode. Did it by running
DevToolsSecurity in terminal (for future reference).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.