• 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: Checking dependencies
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Checking dependencies


  • Subject: Re: Checking dependencies
  • From: "Emile Tobenfeld (a. k. a Dr. T)" <email@hidden>
  • Date: Tue, 24 Feb 2009 20:52:54 -0500

Title: Re: Checking dependencies
At 4:06 PM -0800 2/24/09, Chris Espinosa wrote:
On Feb 24, 2009, at 3:54 PM, Emile Tobenfeld (a. k. a Dr. T) wrote:
This seems to take 5 - 10 times as long in 3.1 than it did in 2.4/2.5, Anyone know why, or what can be done about it?

There's no general regression from 2.5 to 3.1 in Dependency Checking times, but we do know of a handful of cases where Checking Dependencies is pathologically bad.  We don't have enough information about these to determine why, but some suggestions are:

- certain network configurations hit a problem where searching for "net/inet.h" causes a long NFS mount/timeout
- we've seen projects with 50-100 cross-project references that exhaust system memory and cause Xcode to swap to death
- if your build folder is inside your project folder, and you have a recursive user header search path pointing at your project folder, the folder-walk time can grow exponentially

The more information you can provide (in private, in a http://bugreporter.apple.com report) the more we can help you out, often with project reconfiguration.  One piece of forensics that might help is to clean your project, launch Terminal and type:
$sudo fs_usage Xcode > ~/XcodeFSUsage.txt


Chris,

I'm still having severe problems. The hang up seems to come in the clean process, but when I folloow your instructions to make the usage file, I get
new-host-2:~ emile$ $sudo fs_usage Xcode > ~/XcodeFSUsage.txt
'fs_usage' must be run as root...
The hang up, seemed to go away when I cleaned dependencies also  -- when I didn't have clean dependencies checked,  XCode would hang for so long I would force quit and start again.

The XCode team really ought to make this process more transparent and controllable by the user. Code Warrior users remember being able to manually prevent recompiles by hitting a button within the project.

Thanks.



and open your project and click Build. When Checking Dependencies ends, go back to Terminal and control-C, then attach the XcodeFSUsage.txt file to the bug report.

Chris


--

"The test of a first-rate intelligence is the ability to hold two opposed ideas in the mind at the same time, and still retain the ability to function."

F. Scott Fitzgerald

Visit "Before the Fall -- Images of the World Trade Center" at http://www.foryourhead.com

               Emile Tobenfeld, Ph. D.                                                                        
Video Producer                  Image Processing Specialist
Video for your HEAD!                 Boris FX
http://www.foryourhead.com              http://www.borisfx.com

http://www.youtube.com/Tobenfeld
 _______________________________________________
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: Checking dependencies
      • From: Chris Espinosa <email@hidden>
References: 
 >Checking dependencies (From: "Emile Tobenfeld (a. k. a Dr. T)" <email@hidden>)
 >Re: Checking dependencies (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: Checking dependencies
  • Next by Date: Re: Checking dependencies
  • Previous by thread: Re: Checking dependencies
  • Next by thread: Re: Checking dependencies
  • Index(es):
    • Date
    • Thread