Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add WireGuardKit Integration Step #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 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.

Expand Down