From 2b436baacb041eeaf9db4cc95871104e92804174 Mon Sep 17 00:00:00 2001 From: ScottP Date: Thu, 7 Jan 2021 09:39:41 -0800 Subject: [PATCH 1/2] Add WireGuardKit Integration Step --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 953ea63fb..326f14b35 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,8 @@ $ open WireGuard.xcodeproj 5. iOS only: Locate Bitcode settings under your application target, Build settings -> Enable Bitcode, change the corresponding value to "No". +6. Ensure the Network Extension's Bundle Identifier matches what is being called in code. For example, if your appID is `com.company.app` ensure your extension is `com.company.app.network-extension`. Alternatively, change the `providerBundleIdentifier` from `NETunnelProviderProtocol+Extension.swift` to match your Network Extension. If these are mis-matched the app extension will not launch, and the error will cryptically tell you this my asking you to check your Internet connection. + Note that if you ship your app for both iOS and macOS, make sure to repeat the steps 2-4 twice, once per platform. From 377cdfaa58bb3e526b29c3c6f32e34554cecb78f Mon Sep 17 00:00:00 2001 From: Scott Pfursich Date: Thu, 7 Jan 2021 09:42:02 -0800 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 326f14b35..5dab88fd0 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ $ open WireGuard.xcodeproj 5. iOS only: Locate Bitcode settings under your application target, Build settings -> Enable Bitcode, change the corresponding value to "No". -6. Ensure the Network Extension's Bundle Identifier matches what is being called in code. For example, if your appID is `com.company.app` ensure your extension is `com.company.app.network-extension`. Alternatively, change the `providerBundleIdentifier` from `NETunnelProviderProtocol+Extension.swift` to match your Network Extension. If these are mis-matched the app extension will not launch, and the error will cryptically tell you this my asking you to check your Internet connection. +6. Ensure the Network Extension's Bundle Identifier matches what is being called in code. For example, if your appID is `com.company.app` ensure your extension is `com.company.app.network-extension`. Alternatively, change the `providerBundleIdentifier` from `NETunnelProviderProtocol+Extension.swift` to match your Network Extension. If these are mis-matched the app extension will not launch, and the error will cryptically tell you this by asking you to check your Internet connection. Note that if you ship your app for both iOS and macOS, make sure to repeat the steps 2-4 twice, once per platform.