From 3dcaaa4e6ce5a40e5a5d865172fe3e63bc0f1bdc Mon Sep 17 00:00:00 2001 From: Jeroen Leenarts Date: Sat, 15 Sep 2018 20:26:17 +0200 Subject: [PATCH] Fix provisioning. Signed-off-by: Jason A. Donenfeld --- WireGuard.xcodeproj/project.pbxproj | 20 ++++++++++---------- WireGuard/Coordinators/AppCoordinator.swift | 2 +- WireGuardNetworkExtension/Log.swift | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/WireGuard.xcodeproj/project.pbxproj b/WireGuard.xcodeproj/project.pbxproj index 0a2d163..e7ae5e2 100644 --- a/WireGuard.xcodeproj/project.pbxproj +++ b/WireGuard.xcodeproj/project.pbxproj @@ -784,7 +784,7 @@ CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = WireGuard/WireGuard.entitlements; CODE_SIGN_IDENTITY = "iPhone Developer"; - CODE_SIGN_STYLE = Automatic; + CODE_SIGN_STYLE = Manual; DEVELOPMENT_TEAM = L82V4Y2P3C; INFOPLIST_FILE = WireGuard/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 10.3; @@ -794,7 +794,7 @@ ); PRODUCT_BUNDLE_IDENTIFIER = com.wireguard.ios; PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = ""; + PROVISIONING_PROFILE_SPECIFIER = "WireGuard Development"; SWIFT_OBJC_BRIDGING_HEADER = "WireGuard/WireGuard-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 4.0; @@ -811,8 +811,8 @@ CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = WireGuard/WireGuard.entitlements; CODE_SIGN_IDENTITY = "iPhone Developer"; - CODE_SIGN_STYLE = Automatic; - DEVELOPMENT_TEAM = L82V4Y2P3C; + CODE_SIGN_STYLE = Manual; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = WireGuard/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 10.3; LD_RUNPATH_SEARCH_PATHS = ( @@ -876,7 +876,7 @@ CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = WireGuardNetworkExtension/WireGuardNetworkExtension.entitlements; CODE_SIGN_IDENTITY = "iPhone Developer"; - CODE_SIGN_STYLE = Automatic; + CODE_SIGN_STYLE = Manual; DEVELOPMENT_TEAM = L82V4Y2P3C; ENABLE_BITCODE = NO; INFOPLIST_FILE = WireGuardNetworkExtension/Info.plist; @@ -890,9 +890,9 @@ "$(inherited)", "$(PROJECT_DIR)/wireguard-go-bridge", ); - PRODUCT_BUNDLE_IDENTIFIER = com.wireguard.ios.WireGuardNetworkExtension; + PRODUCT_BUNDLE_IDENTIFIER = "com.wireguard.ios.network-extension"; PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = ""; + PROVISIONING_PROFILE_SPECIFIER = "WireGuard Network Extension Development"; SKIP_INSTALL = YES; SWIFT_OBJC_BRIDGING_HEADER = "WireGuardNetworkExtension/WireGuardNetworkExtension-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; @@ -907,8 +907,8 @@ CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = WireGuardNetworkExtension/WireGuardNetworkExtension.entitlements; CODE_SIGN_IDENTITY = "iPhone Developer"; - CODE_SIGN_STYLE = Automatic; - DEVELOPMENT_TEAM = L82V4Y2P3C; + CODE_SIGN_STYLE = Manual; + DEVELOPMENT_TEAM = ""; ENABLE_BITCODE = NO; INFOPLIST_FILE = WireGuardNetworkExtension/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.4; @@ -921,7 +921,7 @@ "$(inherited)", "$(PROJECT_DIR)/wireguard-go-bridge", ); - PRODUCT_BUNDLE_IDENTIFIER = com.wireguard.ios.WireGuardNetworkExtension; + PRODUCT_BUNDLE_IDENTIFIER = "com.wireguard.ios.network-extension"; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; SKIP_INSTALL = YES; diff --git a/WireGuard/Coordinators/AppCoordinator.swift b/WireGuard/Coordinators/AppCoordinator.swift index 7038053..460a6d0 100644 --- a/WireGuard/Coordinators/AppCoordinator.swift +++ b/WireGuard/Coordinators/AppCoordinator.swift @@ -22,7 +22,7 @@ enum AppCoordinatorError: Error { extension UINavigationController: Identifyable {} let APPGROUP = "group.com.wireguard.ios" -let VPNBUNDLE = "com.wireguard.ios.WireGuardNetworkExtension" +let VPNBUNDLE = "com.wireguard.ios.network-extension" class AppCoordinator: RootViewCoordinator { diff --git a/WireGuardNetworkExtension/Log.swift b/WireGuardNetworkExtension/Log.swift index a35f308..d415f15 100644 --- a/WireGuardNetworkExtension/Log.swift +++ b/WireGuardNetworkExtension/Log.swift @@ -9,5 +9,5 @@ import os.log struct Log { - static var general = OSLog(subsystem: "com.wireguard.ios.WireGuardNetworkExtension", category: "general") + static var general = OSLog(subsystem: "com.wireguard.ios.network-extension", category: "general") }