Re: deleting files on install [iphone]
Re: deleting files on install [iphone]
- Subject: Re: deleting files on install [iphone]
- From: Roland King <email@hidden>
- Date: Thu, 30 Sep 2010 21:09:59 +0800
ok this works for the simulator fine - what I'm actually doing is just deleting that directory by hand before build and install and it's recreated with just the new contents.
It's the device I'm bothered about. This application has data stored, deleting the app off the device deletes that which is annoying enough for development and certainly won't work in the real world if I update the app. Does the device 'sync' the same way the simultor does, and copy the contents of the new application bundle over the old one, leaving behind anything which was there before or does it properly remove the Application.app and entirely replace it with the new contents?
Because we lost the start of this thread here quick recap .. I'm putting some static HTML in my iOS application, it's copied into the app bundle itself in a path like
MyApp.app/MyStaticData/TreeOfData/....
I've found the install process on the simulator copies over the old MyApp.app but doesn't clean it out first, so I end up with a mix of old and new files in the TreeOfData and I need old files to be removed. I'm trying to figure out if it's the same on the device, which would indeed mean 'upgrade' for a user is delete and start over, not so good.
On 30-Sep-2010, at 1:40 AM, David Duncan wrote:
> On Sep 29, 2010, at 10:36 AM, Matt Neuburg wrote:
>
>> This is why I say in a different thread to do a Reset on the simulator and a Clean All Targets on the project. That way, you are starting from scratch.
>
>
> As a note, resetting the simulator for this is overkill. You can delete individual applications from the simulator the same was you do from a device.
> --
> David Duncan
>
> _______________________________________________
> 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