Hi @DTS Engineer Eskimo,
Thank you for your previous response.
I’ve carefully reviewed the post you shared and verified each point mentioned. My issue appears to be identical (even in log details) to the one described in this thread.
At the end of the discussion, you noted that this was a system-related issue and explained how NEMachServiceName should be configured. I followed your instructions, but I’m still encountering a failure during the "validate by category" step. I’m unsure whether the original poster managed to resolve it.
After further troubleshooting without success, I revisited your series of posts on Network Extension and System Extension.
You mentioned that during daily development, it’s generally recommended to avoid using a Developer ID for signing. Acting on this advice, I removed the
OSSystemExtensionRequest.activationRequest
code and instead used an Apple Development signing identity to package the Network Extension as a standard app extension. My goal was to successfully launch the extension on macOS.
The switch to the Apple Development identity and the related adjustments proceeded smoothly, and the app ran without issues until I attempted to start the Network Extension.
The process stalled again, with the logs indicating:
Found 0 registrations for my.bundleId.networkExtension
Interestingly, the same logic works perfectly on iOS.
I revisited your posts and noticed your remark about app extensions on macOS being less stable. This let me to explore using PluginKit to manually register the extension.
However, when I ran:
pluginKit -a /path/to/myExtension
…nothing happened.
I also tried:
pluginKit -m
…but my extension didn’t appear in the list.
Could this be due to an error in my usage of PluginKit, or is there an underlying issue in my implementation?
At this stage, I believe the priority is to ensure the .appex works on macOS, not just iOS, and then proceed with exporting it independently using a Developer ID.
Thank you again for your time and assistance. I’d greatly appreciate any further guidance.
Best regards.