mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2026-04-24 00:00:05 +08:00
Add Swift Package Manager section
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
## Overview
|
||||
@@ -39,6 +41,9 @@ end
|
||||
|
||||
And run `$ pod install`.
|
||||
|
||||
### Swift Package Manager
|
||||
Add `OpenVPNAdapter` package to your project using File > Swift Packages > Add Package Dependency menu. Xcode 11 will automatically retrieve all necessary dependencies. In addition to that you need to add `SystemConfiguration` framework to the Frameworks and Libraries. If you work on iOS project add `UIKit` as well.
|
||||
|
||||
## Usage
|
||||
At first, you need to add a Packet Tunnel Provider extension to the project and configure provision profiles for both the container app and the extension. There are official documentation and many tutorials describing how to do it so we won't dwell on this in detail.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user