Resolved Xcode errors not shown until restart.

Discussion in 'iOS Programming' started by vmachiel, Apr 5, 2017.

Tags:
  1. vmachiel macrumors 68000

    Joined:
    Feb 15, 2011
    Location:
    Holland
    #1
    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!
     
  2. PhoneyDeveloper macrumors 68030

    PhoneyDeveloper

    Joined:
    Sep 2, 2008
    #2
    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.
     
  3. vmachiel thread starter macrumors 68000

    Joined:
    Feb 15, 2011
    Location:
    Holland
    #3
    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).
     

Share This Page