• 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
Configure Xcode project to create a folder as Product or target
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Configure Xcode project to create a folder as Product or target


  • Subject: Configure Xcode project to create a folder as Product or target
  • From: Joël Brogniart <email@hidden>
  • Date: Tue, 31 Oct 2006 14:22:35 +0100

Hi,

With Xcode I want to create a folder populated with files created by applying a XSLT transformation to an XML data file.

I've created an empty project. That project contain an xml schema file "my_schema.xsd", an xml data file based on the previous schema file "my_data.xml" and an XSLT transformation file "my_transformation.xsl".

The folder is created and populated with the following steps :
- validate the xml file against the schema,
- transform the xml file to a temporary text file apply the XSLT transformation,
- applying a script to create the final folder and populate it with files generated from the temporary file.


For now, I've created a Shell Script target "my_target" with a sequence of "Run Script" with the steps above to populate a folder. That works.

But I can't associate project files with my_target (except in passing them as parameter to scripts). And the resulting folder doesn't appeart in the "Product" folder as when I create an application project.

How can I tell Xcode that the resulting folder is the product I want to create in my project. How could I use compile rule in such a project as some dependant could be automated based on file extension (ie .xml -> .xml-validated -> .xslt-parsed...)?

Thanks.

Joël Brogniart _______________________________________________
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


  • Prev by Date: Re: XCode Falls Short - for now
  • Next by Date: Re: XCode Falls Short - for now
  • Previous by thread: Re: How do I include source files according to processor?
  • Next by thread: Re: Navigation shortcuts [was: XCode Falls Short - for now]
  • Index(es):
    • Date
    • Thread