• 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: External Build System target & Products
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: External Build System target & Products


  • Subject: Re: External Build System target & Products
  • From: Fritz Anderson <email@hidden>
  • Date: Tue, 11 Oct 2011 14:42:13 -0500

On 11 Oct 2011, at 2:04 PM, Eric Gorr wrote:

> I've got an External Build System target which is building a product. For other target types, the products they build show up in the Products folder. Is there some way for the product built by an external build system target to show up in this folder so I can add it to the Copy Bundle Resources build phase of another target?

The build system for the target doesn't have any way to communicate to Xcode's build system that of the (hundreds of?) files the make produces, one in particular is the product.

> The product is being built into the correct path according to the environment variables.

If you're willing to tolerate a chicken-and-egg step, build the make target once (don't put the product into the Derived Data folder), and add the product to the project and the appropriate Copy Bundle Resources phase.

I don't offhand know what the implications would be for cross-target dependencies. It might be worthwhile to abandon the EBS target in favor of a `make` invocation in an early Run Script phase.

	— F

 _______________________________________________
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

References: 
 >External Build System target & Products (From: Eric Gorr <email@hidden>)

  • Prev by Date: Re: External Build System target & Products
  • Next by Date: CoreRecipes in Xcode4 ?
  • Previous by thread: Re: External Build System target & Products
  • Next by thread: CoreRecipes in Xcode4 ?
  • Index(es):
    • Date
    • Thread