Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

Network Extension update problem

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
Code Block
launchctl print system | grep MyNetworkExtension

Returns
Code Block
NetworkExtension.com.company.MyNetworkExtension.x.y.z

Where x.y.z is the updated version, which is fine.

Also running
Code Block
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.
Answered by DTS Engineer in 833172022

I’m gonna recommend that we focus this discussion on this new thread.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Hi,

We are seeing the same issue. It seems like ARC is not closing previous mach service before the upgrade.

I’m gonna recommend that we focus this discussion on this new thread.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Network Extension update problem
 
 
Q