• 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: Build rule "depends on itself?" [SOLVED]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build rule "depends on itself?" [SOLVED]


  • Subject: Re: Build rule "depends on itself?" [SOLVED]
  • From: Glen Low <email@hidden>
  • Date: Thu, 19 Aug 2004 21:51:45 +0800

On 13/08/2004, at 8:44 AM, Michael Rawdon wrote:

Hi Glen -

On Aug 12, 2004, at 5:04 PM, Glen Low wrote:
One of the hairier pieces of Graphviz has a few custom build rules in it. I'm glad to say that when Xcode 1.5 works, it works far better at resolving dependencies with custom rules than 1.2, however it occasionally fails to even build with this error:

Dependency analysis: File </ ... / graphviz.build/gvpr.build/Script-343042a0.sh> depends on itself. This target might include its own pro...

I can get it to build sometimes by changing the order of output files in one particular build rules, but then the next time it builds it fails again.

How do I go about getting a permanent fix? I can't actually see the mentioned script file so I can't diagnose that.

The script file probably refers to a shell script build phase or custom build rule. You could examine the file in an editor and see if you can match it to such a script.


That said, the main instance in which this warning has been encountered involved a circular dependency. The canonical example we unearthed was a target which included its own build product in one of its build phases. But there may be other instances we don't know of yet. If you discover another concrete example, then we'd certainly be interested in a bug report on it.

I finally banished it forever by trashing the pbxindex directory and rebuilding. (Cleaning didn't cure it.) I also confirmed that I need to put the derived headers under the project icon, though not necessarily under the target header icon.



Cheers, Glen Low


--- pixelglow software | simply brilliant stuff www.pixelglow.com _______________________________________________ xcode-users mailing list | email@hidden Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users Do not post admin requests to the list. They will be ignored.


References: 
 >Build rule "depends on itself?" (From: Glen Low <email@hidden>)
 >Re: Build rule "depends on itself?" (From: Michael Rawdon <email@hidden>)

  • Prev by Date: Re: Errors & Warnings (and Relative Paths)
  • Next by Date: Re: NSBorderlessWindowMask and Grey Radio Buttons
  • Previous by thread: Re: Build rule "depends on itself?"
  • Next by thread: Subversion SCM status not showing up on most files (Xcode 1.5)
  • Index(es):
    • Date
    • Thread