]> git.ipfire.org Git - thirdparty/wireguard-apple.git/commitdiff
SPM: update exclude rules
authorAndrej Mihajlov <and@mullvad.net>
Tue, 15 Jun 2021 13:18:21 +0000 (15:18 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Wed, 16 Jun 2021 13:23:11 +0000 (15:23 +0200)
Fixes missing excluded file warning in Xcode. api-ios.go was renamed to api-apple.go.

Signed-off-by: Andrej Mihajlov <and@mullvad.net>
Package.swift
Sources/WireGuardKit/WireGuardAdapter.swift

index ddd48223a55a1c6ecc5a65e76fc5d764b56a1600..8e3864fd02e141568266a5fdcabf19df40cfe650 100644 (file)
@@ -30,7 +30,7 @@ let package = Package(
                 "goruntime-boottime-over-monotonic.diff",
                 "go.mod",
                 "go.sum",
-                "api-ios.go",
+                "api-apple.go",
                 "Makefile"
             ],
             publicHeadersPath: ".",
index 42f66f73918f3baa0381d810a246c4c757867807..0ed9b3b61d33d4f2cc26a773a4a9370da68e9442 100644 (file)
@@ -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