I have a recurring problem with software updates by Apple killing all networking when I have a network system extension distributed by TestFlight installed on my Mac.
Any pointers on how to resolve this would be greatly appreciated!
I don't know if it is my network system extension, the fact that it is distributed via TestFlight, or something else.
The latest example is updating to macOS 14.2 today.
I think the relevant Console message is:
Code has restricted entitlements, but the validation of its code signature failed.
The full message for that console message is.
mac_vnode_check_signature: /Library/SystemExtensions/ACB1E368-5355-4959-9800-737ED2BE9EDC/com.xxxxxxxxxxxxxxxx.networkagent.systemextension/Contents/MacOS/com.xxxxxxxxxxxxxxxx.networkagent: code signature validation failed fatally: When validating /Library/SystemExtensions/ACB1E368-5355-4959-9800-737ED2BE9EDC/com.xxxxxxxxxxxxxxxx.networkagent.systemextension/Contents/MacOS/com.xxxxxxxxxxxxxxxx.networkagent:
Code has restricted entitlements, but the validation of its code signature failed.
Unsatisfied Entitlements:
Deleting the app (with its network system extension) immediately restores networking.
I can reinstall the exact same program via TestFlight, and everything runs fine.
The feedback ID (which includes additional details, a screenshot, and a video) is: FB13458972
The problem is using TestFlight with an app with a network system extension. In the last two days, I
- Released an app via the Mac App Store.
- Used Apple Configurator to restore a Mac mini to macOS 13.6 and Safari 16.6
- Installed the app with network system extension from the App Store and installed the network system extension.
- Upgraded from Safari 16.6 to 17.2.1 (which had caused problems when deployed with TestFlight). No problem.
- Upgraded from macOS 13.6 to 13.6.3 (which had caused problems when deployed with TestFlight). No problem.
- Upgraded from macOS 13.6.3 to 14.2.1 (which had caused problems when deployed with TestFlight). No problem.
- Verified the problem still exists today by sending out the released program via TestFlight, and it killed networking when doing one of the upgrades.
As of this writing (2024-01-04), I would not recommend using TestFlight for testing an app with a network system extension.