2018-09-03 13:31:37 UTC
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.
Andreas Falkenhahn mailto:***@falkenhahn.com
Cocoa-dev mailing list (Cocoaemail@example.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:
This email sent to ***@ml-in.narkive.net