• 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
How to add a generated file to a project's resources
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to add a generated file to a project's resources


  • Subject: How to add a generated file to a project's resources
  • From: Daniel Katz <email@hidden>
  • Date: Tue, 8 Dec 2009 23:12:25 -0500

Hi -

I've got a script which generates an asset (in this case, a SQLite database which will be read by the app)  which I want to deploy as one of the resources for an iPhone project.  Adding a new "Run Script" build phase to run the script was easy enough, but I can't figure out how to get the generated asset installed into the project.  I tried adding a "Copy Files" build phase, but didn't see how to specify that the file to copy was the one being generated in the "Run Script" phase.

Any suggestions on this?

Thanks!

Dan

P.S.  Sorry if this is a FAQ -- I did look around a bit for this and didn't see the answer in an obvious place... _______________________________________________
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: How to add a generated file to a project's resources
      • From: Carlos McEvilly <email@hidden>
  • Prev by Date: Re: Lower priority of Xcode
  • Next by Date: Re: How to add a generated file to a project's resources
  • Previous by thread: Re: Lower priority of Xcode
  • Next by thread: Re: How to add a generated file to a project's resources
  • Index(es):
    • Date
    • Thread