Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>It's a known bug with the latest XCode. This happens with some projects which are migrated from XCode 3.X to the new version. For some people it seems to help to go to the organizer, and in the project tab delete the derived data for the project where code sense does not work correctly.</p> <p>If you have a small project, it might also help to create a new project in XCode 4 and import the files from the XCode 3 project.</p> <p><strong>Update:</strong> XCode 4.0.1 made the situation a bit better, at least in some of my projects I have syntax coloring and code sense back. But it's still far from fixed.</p> <p><strong>Update 2:</strong> XCode 4.0.2 did not change much. It seems that the problem is related to subprojects, specifically static libraries. According to comments of <a href="http://blog.slidetorock.com/xcode-4-code-sense-autocompletion-problems" rel="noreferrer">this blog post</a> some people were successful by changing header search paths from relative to absolute paths, e.g. instead of <code>Foo/Bar</code> use <code>$(SOURCE_ROOT)/Foo/Bar</code>. This together with switching all projects to XCode 3.1 format and to use LLVM 2.0 fixed a lot for me as well. It's not perfect yet, but usable.</p> <p><strong>Update 3:</strong> After converting the sub projects to independent projects and putting them in a <a href="https://developer.apple.com/library/ios/#documentation/ToolsLanguages/Conceptual/Xcode4UserGuide/NewProject/NewProject.html#//apple_ref/doc/uid/TP40010215-CH2-SW4" rel="noreferrer">workspace</a> (aka <em>the XCode 4 way</em>) I have now full syntax highlighting and code completion back.</p> <p>My current environment is now a XCode 4 workspace with each projects being 3.1 compatible (as opposed to the default which is 3.2), LLVM GCC 4.2 (system default) and the header search paths are still absolute (using <code>$(SOURCE_ROOT)/.../</code>).</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload