Re: Copy test docs to Simulator App's Documents folder?
Re: Copy test docs to Simulator App's Documents folder?
- Subject: Re: Copy test docs to Simulator App's Documents folder?
- From: David Brittain <email@hidden>
- Date: Mon, 20 Apr 2015 19:38:49 -0700
One way to do this is through the Application Data setting on a
scheme... In the scheme, if you go to the Options tab for Run, you can
choose "Application Data" and select any xcappdata file that is in
your project. I find the easiest way to generate these is by
downloading the container of your app (using the Devices window,
select a device, then select your app, and then clicking the settings
icon and selecting "Download Container"). Once downloaded it is pretty
easy to open up the bundle and change the files that matter.
Dave
On Mon, Apr 20, 2015 at 7:08 PM, Michael Crawford <email@hidden> wrote:
> I have a few test documents that I need to have copied to my App's
> Documents folder whenever I build it. This is now problematic as it
> seems the app gets put into a different place each time it is built.
>
> I tried using a Build Phase for each but it doesn't put them into the
> Documents folder. I don't see a way to do that; is there?
>
> Alternatively I could copy them into my app's Library folder, but I
> don't see a way to do that either.
>
> --
> Michael David Crawford, Consulting Software Engineer
> email@hidden
> http://www.warplife.com/mdc/
>
> Available for Software Development in the Portland, Oregon Metropolitan
> Area.
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
--
David Brittain
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden