2018-09-22 02:14:21 +00:00
|
|
|
# [WireGuard](https://www.wireguard.com/) for iOS
|
2018-09-21 18:45:33 +00:00
|
|
|
|
2018-11-03 06:21:54 +00:00
|
|
|
## Building
|
2018-05-23 19:49:10 +00:00
|
|
|
|
2019-02-15 01:37:02 +00:00
|
|
|
- Clone this repo recursively:
|
2018-09-13 21:36:48 +00:00
|
|
|
|
2018-11-03 06:21:54 +00:00
|
|
|
```
|
2019-02-15 01:37:02 +00:00
|
|
|
$ git clone --recursive https://git.zx2c4.com/wireguard-ios
|
2018-11-03 06:21:54 +00:00
|
|
|
$ cd wireguard-ios
|
|
|
|
```
|
|
|
|
|
|
|
|
- Rename and populate developer team ID file:
|
|
|
|
|
|
|
|
```
|
|
|
|
$ cp WireGuard/WireGuard/Config/Developer.xcconfig.template WireGuard/WireGuard/Config/Developer.xcconfig
|
|
|
|
$ vim WireGuard/WireGuard/Config/Developer.xcconfig
|
|
|
|
```
|
|
|
|
|
2018-12-12 17:40:57 +00:00
|
|
|
- Install swiftlint:
|
|
|
|
|
|
|
|
```
|
|
|
|
$ brew install swiftlint
|
|
|
|
```
|
|
|
|
|
2019-02-15 01:35:00 +00:00
|
|
|
- Open project in Xcode:
|
2018-11-03 06:21:54 +00:00
|
|
|
|
|
|
|
```
|
|
|
|
$ open ./WireGuard/WireGuard.xcodeproj
|
|
|
|
```
|
|
|
|
|
2019-02-15 01:35:00 +00:00
|
|
|
- Flip switches, press buttons, and make whirling noises until Xcode builds it.
|
2018-05-20 13:09:03 +00:00
|
|
|
|
2018-10-10 20:34:18 +00:00
|
|
|
## MIT License
|
|
|
|
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
|
|
this software and associated documentation files (the "Software"), to deal in
|
|
|
|
the Software without restriction, including without limitation the rights to
|
|
|
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
|
|
of the Software, and to permit persons to whom the Software is furnished to do
|
|
|
|
so, subject to the following conditions:
|
|
|
|
|
|
|
|
The above copyright notice and this permission notice shall be included in all
|
|
|
|
copies or substantial portions of the Software.
|
|
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
|
SOFTWARE.
|