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: Alastair Houghton <email@hidden>
- Date: Thu, 06 Sep 2018 10:31:39 +0100
On 6 Sep 2018, at 05:23, Jeff Szuhay <email@hidden> wrote:
>
> Did you try clearing the defaults persistent domain in your code?
I don’t think that is likely to help. Andreas was complaining that the code in
his bundle was being cached somewhere, so when he rebuilt it didn’t always load
the new version. User defaults doesn’t seem relevant here.
The only other thing I can think of is that sometimes Xcode doesn’t actually
rebuilt properly; it hadn’t really occurred to me before that that might be the
problem, but particularly if the build is being done on a network volume,
there’s a real risk this could happen. This is especially true if the volume is
backed by a FAT disk because those have a two second (yes, two second)
timestamp granularity, which can very easily cause unexpected problems building
code. You can probably tell if the build system is the culprit here because if
you tell it to do a full clean (IIRC you have to hold Option and choose the
clean option from the menu to get it to wipe things completely) and rebuild
then it’ll start working.
Kind regards,
Alastair.
--
http://alastairs-place.net
_______________________________________________
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