• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: xcode code-indexing intermittent hangs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xcode code-indexing intermittent hangs


  • Subject: Re: xcode code-indexing intermittent hangs
  • From: Dan Herman <email@hidden>
  • Date: Tue, 12 May 2009 12:46:25 -0700

On May 10, 2009, at 11:10 PM, Dan Herman wrote:

On May 9, 2009, at 6:17 PM, Andrew Pontious wrote:

Do your source code or header files use import or include statements like this?

#import <net/Something.h>

If so, this is a known Xcode bug -- Xcode is erroneously statting the /net directory on your machine, which then waits on network traffic.

This bug is fixed in the next version of Xcode.

Interesting... so I do have two such lines:

#include <net/if_dl.h>
#include <net/if_types.h>

but they've been there forever and this is a new problem... and it appears it is happening even when the file that contains those isn't affected by an edit. But I'll try removing those tomorrow and let you know what I find.

Full prize points go to Andrew. Commenting out those two lines prevents the hangs, as does disabling the ethernet port. Thanks!


For bonus points: is there any workaround other than leaving my machine off the network?

Dan

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: xcode code-indexing intermittent hangs
      • From: Andrew Pontious <email@hidden>
References: 
 >xcode code-indexing intermittent hangs (From: Dan Herman <email@hidden>)
 >Re: xcode code-indexing intermittent hangs (From: Andrew Pontious <email@hidden>)
 >Re: xcode code-indexing intermittent hangs (From: Dan Herman <email@hidden>)

  • Prev by Date: iPhone 2.2 docs (14.8) still crash Xcode
  • Next by Date: Linker woes
  • Previous by thread: Re: xcode code-indexing intermittent hangs
  • Next by thread: Re: xcode code-indexing intermittent hangs
  • Index(es):
    • Date
    • Thread