Hi,
I noticed when updating a NetworkExtension that exposes a mach service, the new extension cannot accept XPC connections until reboot.
Note: the extension has a different bundle version, it updates just fine, but it has no ability to receive XPC connections.
Also, I noticed that only for network extensions, its corresponding service name has the version appended to its name.
For example running
launchctl print system | grep MyNetworkExtension
Returns
NetworkExtension.com.company.MyNetworkExtension.x.y.z
Where x.y.z is the updated version, which is fine.
Also running
systemextensionsctl list
Returns the updated version of the network extension.
So the question is, how can I connect through XPC to the updated version?
If I reboot the machine the connection can be made, otherwise it does't work.
Any help would be appreciated. Thank you.