Re: How to clear macOS app bundle cache

2018-09-04 Thread Andreas Falkenhahn
On 04.09.2018 at 21:02 Alex Zavatone wrote: > 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? Yes, but once again, I can have tha

Re: How to clear macOS app bundle cache

2018-09-04 Thread Alex Zavatone
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 wrote: > >> On

Re: How to clear macOS app bundle cache

2018-09-04 Thread Andreas Falkenhahn
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

Re: How to clear macOS app bundle cache

2018-09-04 Thread Andreas Falkenhahn
On 04.09.2018 at 18:27 Marco S Hyman wrote: > Have you tried disabling SMB client side caching? > https://support.apple.com/en-us/HT207520 Doesn't change anything. Maybe because the share is SMB 1, not SMB 2 or 3 as stated in the article. -- Best regards, Andreas Falkenhahn

Re: How to clear macOS app bundle cache

2018-09-04 Thread Alex Zavatone
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? Cheezy, I know, but I’m just trying to get some insight into how to do this. > On Sep 4, 2

Re: How to clear macOS app bundle cache

2018-09-04 Thread Marco S Hyman
Have you tried disabling SMB client side caching? https://support.apple.com/en-us/HT207520 I don’t know if that note pertains to current versions of macos. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or mo

Re: How to clear macOS app bundle cache

2018-09-04 Thread Jean-Daniel
> Le 4 sept. 2018 à 17:01, Andreas Falkenhahn a écrit : > > On 04.09.2018 at 15:54 Alastair Houghton wrote: > >> OK. Have you tried logging the path of a file in the bundle, so you >> can see where it’s being read from? > > CFBundleCopyBundleURL(CFBundleGetMainBundle()) always returns the pat

Re: How to clear macOS app bundle cache

2018-09-04 Thread Andreas Falkenhahn
On 04.09.2018 at 15:54 Alastair Houghton wrote: > OK. Have you tried logging the path of a file in the bundle, so you > can see where it’s being read from? CFBundleCopyBundleURL(CFBundleGetMainBundle()) always returns the path of the bundle on the network volume. > If the path still says the net

Re: How to clear macOS app bundle cache

2018-09-04 Thread Alastair Houghton
On 4 Sep 2018, at 14:30, Shane Stanley wrote: > > On 4 Sep 2018, at 11:28 pm, Alastair Houghton > wrote: >> >> On 4 Sep 2018, at 00:19, Shane Stanley wrote: >>> >>> On 3 Sep 2018, at 11:31 pm, Andreas Falkenhahn >>> wrote: I'm looking for a solution to flush the app bundle cache

Re: How to clear macOS app bundle cache

2018-09-04 Thread Shane Stanley
On 4 Sep 2018, at 11:28 pm, Alastair Houghton wrote: > > On 4 Sep 2018, at 00:19, Shane Stanley wrote: >> >> On 3 Sep 2018, at 11:31 pm, Andreas Falkenhahn >> wrote: >>> >>> I'm looking for a solution to flush the app bundle cache >> >> If you find one, I'd love to know what it is. I had n

Re: How to clear macOS app bundle cache

2018-09-04 Thread Andreas Falkenhahn
On 04.09.2018 at 15:28 Alastair Houghton wrote: > Is the application in question sandboxed? If so, have you checked > to see whether the application bundle gets copied into the sandbox? > (I don’t have time to look right now myself, but it might make sense > to do that for sandboxed bundles launch

Re: How to clear macOS app bundle cache

2018-09-04 Thread Alastair Houghton
On 4 Sep 2018, at 00:19, Shane Stanley wrote: > > On 3 Sep 2018, at 11:31 pm, Andreas Falkenhahn wrote: >> >> I'm looking for a solution to flush the app bundle cache > > If you find one, I'd love to know what it is. I had no luck at all. Is the application in question sandboxed? If so, have

Re: How to clear macOS app bundle cache

2018-09-04 Thread Andreas Falkenhahn
On 04.09.2018 at 01:19 Shane Stanley wrote: > On 3 Sep 2018, at 11:31 pm, Andreas Falkenhahn wrote: >> I'm looking for a solution to flush the app bundle cache > If you find one, I'd love to know what it is. I had no luck at all. Aren't there any Apple engineers on this list anymore? :-) --

Re: Detecting if /Network/Library is available

2018-09-04 Thread Sandor Szatmari
OK inertia overcome… I tested FSEvents and if I create an event stream for /Network and restrict to mount and I unmount flags I can successfully detect the mounting and in mounting of these shares. I appreciate your thoughts! Thanks for your help. Sandor > On Sep 3, 2018, at 14:51, Sandor S