diff --git a/Sources/Shared/Keychain.swift b/Sources/Shared/Keychain.swift index e301fed..c6e7526 100644 --- a/Sources/Shared/Keychain.swift +++ b/Sources/Shared/Keychain.swift @@ -44,7 +44,7 @@ class Keychain { items[kSecAttrSynchronizable] = false items[kSecAttrAccessible] = kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly - guard let extensionPath = Bundle.main.builtInPlugInsURL?.appendingPathComponent("WireGuardNetworkExtension.appex").path else { + guard let extensionPath = Bundle.main.builtInPlugInsURL?.appendingPathComponent("WireGuardNetworkExtension.appex", isDirectory: true).path else { wg_log(.error, staticMessage: "Unable to determine app extension path") return nil }