• 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: Circular target dependency problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Circular target dependency problem


  • Subject: Re: Circular target dependency problem
  • From: Chris Espinosa <email@hidden>
  • Date: Wed, 25 Jan 2006 23:27:37 -0800


On Jan 25, 2006, at 10:59 PM, Shaun Wexler wrote:

I'm having a problem with Xcode 2.2.1 and a circular dependency with its targets. There are four bundle targets which depend on the app executable using BUNDLE_LOADER = $(BUILT_PRODUCTS_DIR)/MacFOH.app/Contents/MacOS/MacFOH. The app target has no dependencies on these bundles. I tried to create an Aggregate target, to first build the app, then the four bundles, and then add a Copy Files build phase to move them into the app package. Nope, errors! It's telling me that each item in the copy phase now has a dependency on itself. Any ideas?

The BUNDLE_LOADER build setting is specifically for Unit Testing. Are you using it for that? You don't say above. If you aren't, then eliminate that setting. If you are, and it's creating a circular dependency, you may need to do a separate testing target for your unit tests, because if your app depends on its loadable bundles and the loadable bundles depend on the app, you have indeed created a circular dependency.


Chris

_______________________________________________
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: Circular target dependency problem
      • From: "Timothy J. Wood" <email@hidden>
References: 
 >Circular target dependency problem (From: Shaun Wexler <email@hidden>)

  • Prev by Date: Re: GCC 4.0 optimization bug?
  • Next by Date: Re: Linking debug/release app with debug/release framework?
  • Previous by thread: Circular target dependency problem
  • Next by thread: Re: Circular target dependency problem
  • Index(es):
    • Date
    • Thread