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

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


  • Subject: Re: How to add a generated file to a project's resources
  • From: Carlos McEvilly <email@hidden>
  • Date: Tue, 8 Dec 2009 21:41:54 -0800

How about just having a placeholder copy of the file, with any
content, already added to the app? Then when the script regenerates
the contents of the file, there is no need to add the file to the
project, because it is already there.


On Tue, Dec 8, 2009 at 8:12 PM, Daniel Katz <email@hidden> wrote:
> 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
>
 _______________________________________________
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: "Paul Sanders" <email@hidden>
References: 
 >How to add a generated file to a project's resources (From: Daniel Katz <email@hidden>)

  • Prev by Date: How to add a generated file to a project's resources
  • Next by Date: Re: Adding existing svn files to new project
  • Previous by thread: How to add a generated file to a project's resources
  • Next by thread: Re: How to add a generated file to a project's resources
  • Index(es):
    • Date
    • Thread