Hi! I've a per-app VPN in a form of PacketTunnelProvider with bundle id rules.
I have a service application (not from AppStore), which resides in the /Library/Application Support/.../SomeOtherBundle.app/.../ServiceApplication.app
There is a mechanism which updates SomeOtherBundle.app with ServiceApplication.app periodically.
Sometimes after such update, the ServiceApplication.app can't access the VPN, its traffic just not being forwarded to the tunnel.
After some research, I found, that the reason for this is the system is not aware of the new version of ServiceApplication.app binary, and it is not really relies on bundle id, but instead on macho uuid. There is only old macho uuid known to the system, so my new version of the app is not accounted and not routed to the tunnel.
The question here, is how to notify the system about my app update, so it will route it correctly?