Re: How to add a generated file to a project's resources
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