Re: Build rule "depends on itself?" [SOLVED]
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.