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: Jean-Daniel <email@hidden>
- Date: Tue, 04 Sep 2018 18:02:00 +0200
> Le 4 sept. 2018 à 17:01, Andreas Falkenhahn <email@hidden> 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 path
> of the bundle on the network volume.
Maybe looking at the list of open files (in the Activity Monitor) may give you
an hint about what is the real path of the mapped binary.
It is one of the few working method to get the real path of mapped libraries
(/private/var/db/dyld/dyld_shared_cache_x86_64h instead of the system
frameworks path for instance).
>
>> If the path still says the network, what kind of network is it and
>> are there any caching settings or other settings you might be able
>> to adjust? (I remember, for instance, that, years ago, similar
>> problems used to occur if you were using a Windows-based network
>> because of low resolution timestamps on files.) If the path doesn’t
>> say the network, it might tell us where to look to clear out cached data.
>
> Unfortunately, I'm no macOS expert so I don't know where to look. I'm
> using a standard macOS installation. The network drive is an SMB share.
>
>
> --
> 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
_______________________________________________
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