Hello,
I'm trying to launch the sample from NetworkExtension on MacOS- Catalina (version- 10.15.3).
In order to do that I downloaded the source code from- https://developer.apple.com/videos/play/wwdc2019/714/
And did the following steps-
- Using Xcode 11.3.1, I opened the project.
- I searched for com.example.apple-samplecode and replaced that with com.(companyName).(productName).
- I changed this bundle id to these files-
- SimpleFirewall.entitlements with- com.(companyName).(productName)
- Info.Plist (NEMachServiceName) with- com.(companyName).(productName).simpleFirewallExtension
- SimpleFirewallExtension.entitlements with- com.(companyName).(productName)
- I set the Bundle id for both the targets. One is com.(companyName).(productName) and another one is com.(companyName).(productName).simpleFirewallExtension. Respective Provisioning profile has been taken from the Provisioning Profile list.
- Did clean the app and built the app.
- Copied the application and pasted it to /Applications.
- I ran the app.
- Opened Console app to see the logs
- Getting Error in IPCConnection.swift file
Function name-func register(withExtension bundle: Bundle, delegate: AppCommunication, completionHandler: @escaping(Bool) -> Void)
Error- registerError.localizedDescription (Couldn’t communicate with a helper application.)
Can you please help me out on that.
TIA.