]> git.ipfire.org Git - thirdparty/wireguard-apple.git/commitdiff
XCode: use old network extension ID 0.0.20181104-1
authorJason A. Donenfeld <Jason@zx2c4.com>
Sun, 4 Nov 2018 03:16:13 +0000 (04:16 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Sun, 4 Nov 2018 04:42:25 +0000 (05:42 +0100)
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
WireGuard/WireGuard.xcodeproj/project.pbxproj
WireGuard/WireGuard/Config/Version.xcconfig
WireGuard/WireGuard/VPN/TunnelsManager.swift
WireGuard/WireGuardNetworkExtension/Log.swift [deleted file]

index 99d65aca6076e098dddadcc0cb49f7c5bc000394..69a13836df22f4d2aa5fddb6358bf732a779e77e 100644 (file)
                                );
                                MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
                                MTL_FAST_MATH = YES;
-                               PRODUCT_BUNDLE_IDENTIFIER = "$(APP_ID).WireGuardNetworkExtension";
+                               PRODUCT_BUNDLE_IDENTIFIER = "$(APP_ID).network-extension";
                                PRODUCT_NAME = "$(TARGET_NAME)";
                                SKIP_INSTALL = YES;
                                SWIFT_OBJC_BRIDGING_HEADER = "WireGuardNetworkExtension/WireGuardNetworkExtension-Bridging-Header.h";
                                        "@executable_path/../../Frameworks",
                                );
                                MTL_FAST_MATH = YES;
-                               PRODUCT_BUNDLE_IDENTIFIER = "$(APP_ID).WireGuardNetworkExtension";
+                               PRODUCT_BUNDLE_IDENTIFIER = "$(APP_ID).network-extension";
                                PRODUCT_NAME = "$(TARGET_NAME)";
                                SKIP_INSTALL = YES;
                                SWIFT_OBJC_BRIDGING_HEADER = "WireGuardNetworkExtension/WireGuardNetworkExtension-Bridging-Header.h";
index 3e53688d527fe5f8af696aa27411a1b854e3b045..a9da30d51bc6bf37505aed9aa8885a4e8e25c79f 100644 (file)
@@ -1,2 +1,2 @@
-VERSION_NAME = 0.0.20181103
+VERSION_NAME = 0.0.20181104
 VERSION_ID = 1
index 2ea33771aa1272b2840e4bfa3ea02fa4ead56154..f2d02d4ddfd8d82faaa66ae9878b12e422865835 100644 (file)
@@ -216,7 +216,7 @@ extension NETunnelProviderProtocol {
         let appId = Bundle.main.bundleIdentifier!
         let firstValidEndpoint = tunnelConfiguration.peers.first(where: { $0.endpoint != nil })?.endpoint
 
-        providerBundleIdentifier = "\(appId).WireGuardNetworkExtension"
+        providerBundleIdentifier = "\(appId).network-extension"
         providerConfiguration = [
             "tunnelConfiguration": serializedTunnelConfiguration,
             "tunnelConfigurationVersion": 1
diff --git a/WireGuard/WireGuardNetworkExtension/Log.swift b/WireGuard/WireGuardNetworkExtension/Log.swift
deleted file mode 100644 (file)
index 54162b5..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-//
-//  Copyright © 2018 WireGuard LLC. All Rights Reserved.
-//
-
-import os.log
-
-struct Log {
-    static var general = OSLog(subsystem: "com.wireguard.ios.network-extension", category: "general")
-}