aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2021-06-15 15:18:21 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2021-06-16 15:23:11 +0200
commit820fa55380b529704945b32e5d990f690c03b2e2 (patch)
tree68a8e06a3fc0c73d9d80db99ada3ed819f019ea0
parentUI: iOS: asynchronously load from NEHotspotNetwork on iOS 14 (diff)
downloadwireguard-apple-820fa55380b529704945b32e5d990f690c03b2e2.tar.xz
wireguard-apple-820fa55380b529704945b32e5d990f690c03b2e2.zip
SPM: update exclude rules
Fixes missing excluded file warning in Xcode. api-ios.go was renamed to api-apple.go. Signed-off-by: Andrej Mihajlov <and@mullvad.net>
-rw-r--r--Package.swift2
-rw-r--r--Sources/WireGuardKit/WireGuardAdapter.swift2
2 files changed, 2 insertions, 2 deletions
diff --git a/Package.swift b/Package.swift
index ddd4822..8e3864f 100644
--- a/Package.swift
+++ b/Package.swift
@@ -30,7 +30,7 @@ let package = Package(
"goruntime-boottime-over-monotonic.diff",
"go.mod",
"go.sum",
- "api-ios.go",
+ "api-apple.go",
"Makefile"
],
publicHeadersPath: ".",
diff --git a/Sources/WireGuardKit/WireGuardAdapter.swift b/Sources/WireGuardKit/WireGuardAdapter.swift
index 42f66f7..0ed9b3b 100644
--- a/Sources/WireGuardKit/WireGuardAdapter.swift
+++ b/Sources/WireGuardKit/WireGuardAdapter.swift
@@ -437,7 +437,7 @@ public class WireGuardAdapter {
}
}
-/// A enum describing WireGuard log levels defined in `api-ios.go`.
+/// A enum describing WireGuard log levels defined in `api-apple.go`.
public enum WireGuardLogLevel: Int32 {
case verbose = 0
case error = 1