Re: Copy test docs to Simulator App's Documents folder?

2015-05-25 Thread Michael David Crawford
I'm still trying to load the simulator with some sample files for my app's Documents folder. I'm able to put documents in the Documents folder for my app on my iPad. I can use the Devices window to copy my .xcappdata folder to my project heirarchy. I can select it to be added to my simulated

Re: Copy test docs to Simulator App's Documents folder?

2015-04-20 Thread David Brittain
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

Re: Copy test docs to Simulator App's Documents folder?

2015-04-20 Thread Michael Crawford
Thanks David. It looks like the .xcappdata format should be quite simple, provided I can find out what the AppDataInfo.plist should look like. I haven't paid the Apple Tax for this year, and won't be able to until I get a job, and won't be able to get a job until I ship my iOS App. Therefore I

Re: Copy test docs to Simulator App's Documents folder?

2015-04-20 Thread Michael Crawford
(David Brittain sent me his AppDataInfo.plist.) That gets me part of the way there but now I get the message Application Data package not copied to the Simulator because it doesn't have a data folder, along with the promise to copy it the _next_ time it is run, however that doesn't happen.

Copy test docs to Simulator App's Documents folder?

2015-04-20 Thread Michael Crawford
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

Re: Copy test docs to Simulator App's Documents folder?

2015-04-20 Thread David Brittain
For the simulator specifically a great app is: http://simpholders.com Which gives fast access to the most recently used app container folders in the simulator. Dave On Mon, Apr 20, 2015 at 7:38 PM, David Brittain websi...@paperetto.com wrote: One way to do this is through the Application Data