From 820fa55380b529704945b32e5d990f690c03b2e2 Mon Sep 17 00:00:00 2001 From: Andrej Mihajlov Date: Tue, 15 Jun 2021 15:18:21 +0200 Subject: [PATCH] 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 --- Package.swift | 2 +- Sources/WireGuardKit/WireGuardAdapter.swift | 2 +- 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