Catalyst + Packet Tunnel + Developer ID signing

Hi,


Is it supported to distribute a Catalyst app with NEPacketTunnelProvider using Developer ID signing?

So far I tried 2 approaches, none of them worked for me


1. When using App Extension, signing a Catalyst app with “packet-tunnel-provider” entitlements using Developer ID results in a crash


Exception Type: EXC_CRASH (Code Signature Invalid)

Exception Codes: 0x0000000000000000, 0x0000000000000000

Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: Namespace CODESIGNING, Code 0x1


2. Using System Extension in a Catalyst app also seems impossible. I tried adding a macOS bundle in a catalyst app to be able to call SystemExtensions APIs (which are not available from under Catalyst directly). But submitting OSSystemExtensionRequest to OSSystemExtensionManager anyway results in OSSystemExtensionErrorDomain Code=1


Regards

Replies

Is it supported to distribute a Catalyst app with

NEPacketTunnelProvider
using Developer ID signing?

No. Developer ID signing is only supported for system extension-based NE providers. Mac Catalyst is a way to use iOS APIs on macOS, and system extensions aren’t an iOS thing.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"