Not really Cocoa-related but maybe somebody on here knows how to solve this:

I build my application on a Mac Mini system using makefiles on a network drive 
(SMB). I don't use Xcode. Now I want to run the application from the network 
drive on a different machine, an iMac.

However, the iMac seems to load the application from the network drive only 
once. After that, it seems to use a cached copy because changes I make after 
first running the app on the iMac don't come into effect before I reboot the 
iMac.

I have found out that I can force the iMac to use the latest version of my 
build by copying the executable to the app bundle again (although it is already 
there) like so:

    $ cp test test.app/Contents/MacOS

This has to be done on the iMac, though. Doing it on the Mac Mini used for 
building doesn't flush the app cache on the iMac. But by doing it on the iMac 
the problem is solved. Still, I'm wondering if there is a better way to "flush" 
the app bundle cache on the iMac.

Optimally, I'm looking for a solution to flush the app bundle cache on the iMac 
from the makefile that I run on the Mac Mini I use for building.

Both Macs run the latest macOS, 10.13.6.

-- 
Best regards,
 Andreas Falkenhahn                          mailto:andr...@falkenhahn.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to