Re: How to clear macOS app bundle cache
Re: How to clear macOS app bundle cache
- Subject: Re: How to clear macOS app bundle cache
- From: Alex Zavatone <email@hidden>
- Date: Tue, 04 Sep 2018 14:02:08 -0500
I meant just the bundle for your app. If you get the wrong bundle and you know
it, what would happen if you deleted or renamed that bundle, even if only
temporarily?
Would it force the new bundle to resolve?
Sent from my iPhone
> On Sep 4, 2018, at 2:00 PM, Andreas Falkenhahn <email@hidden> wrote:
>
>> On 04.09.2018 at 19:33 Alex Zavatone wrote:
>>
>> Question, what causes the bundle to be cached in the first place?
>
>> Is there a way to force that to happen again? If you know what the
>> bundle is, can you rename part of it or delete it to force an
>> update?
>
> Sure, as I wrote in my very first mail, I can flush the cache by
> doing the following:
>
> $ cp test test.app/Contents/MacOS
>
> After that macOS will run the latest version of my app and not the
> cached version. But of course it's a little cumbersome having to do
> this all the time because I'm building on a different machine and
> the above line has to be executed on the machine I want to run the
> bundle on after each new build...
>
> --
> Best regards,
> Andreas Falkenhahn mailto: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