wireguard-apple | Mirror only | iOS library
kandi X-RAY | wireguard-apple Summary
kandi X-RAY | wireguard-apple Summary
Open your Xcode project and add the Swift package with the following URL:. WireGuardKit links against wireguard-go-bridge library, but it cannot build it automatically due to Swift package manager limitations. So it needs a little help from a developer. Please follow the instructions below to create a build target(s) for wireguard-go-bridge. Go to Xcode project settings and locate your network extension target and switch to "Build Phases" tab. In Xcode project settings, locate your main bundle app and switch to "Build Phases" tab. Locate the "Link with binary libraries" section and hit "+" to add WireGuardKit. iOS only: Locate Bitcode settings under your application target, Build settings -> Enable Bitcode, change the corresponding value to "No". Note that if you ship your app for both iOS and macOS, make sure to repeat the steps 2-4 twice, once per platform.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of wireguard-apple
wireguard-apple Key Features
wireguard-apple Examples and Code Snippets
Community Discussions
Trending Discussions on wireguard-apple
QUESTION
I try to run the wireguard project from https://git.zx2c4.com/wireguard-apple/about/ on my ios device.
I have a problem, I can't make it to work, I keep getting the following error when I try to connect:
[NET] route ip+net: sysctl: operation not supported
From my debugging, the error comes from wireguard-go library which can be found here: https://git.zx2c4.com/wireguard-go/
On a forum I found that from IOS 9 , sysctl is disabled. But why my build is not working, if I install wireguard from the AppStore is working.
...ANSWER
Answered 2019-Oct-24 at 13:09The problem is the go version. With 1.13.3 is not working, but is working with 1.13.2. Go must be installed through brew because of:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install wireguard-apple
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page