From a745f356c100b0ba08ad13b2a7b04700d2f50533 Mon Sep 17 00:00:00 2001 From: Sergey Abramchuk Date: Thu, 27 Sep 2018 16:43:30 +0300 Subject: [PATCH] Add script phase in order to fill VPN profile --- OpenVPNAdapter.xcodeproj/project.pbxproj | 38 ++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/OpenVPNAdapter.xcodeproj/project.pbxproj b/OpenVPNAdapter.xcodeproj/project.pbxproj index 46a5bf5..a35a398 100644 --- a/OpenVPNAdapter.xcodeproj/project.pbxproj +++ b/OpenVPNAdapter.xcodeproj/project.pbxproj @@ -707,6 +707,7 @@ isa = PBXNativeTarget; buildConfigurationList = C9BB47961E71821A00F3F98C /* Build configuration list for PBXNativeTarget "OpenVPNAdapter iOS Tests" */; buildPhases = ( + C924E1A5215D15C600AEDEB5 /* Fill VPN Profile */, C9BB478A1E71821A00F3F98C /* Sources */, C9BB478B1E71821A00F3F98C /* Frameworks */, C9BB478C1E71821A00F3F98C /* Resources */, @@ -744,6 +745,7 @@ isa = PBXNativeTarget; buildConfigurationList = C9D2ABFC1EA212A3007EDF9D /* Build configuration list for PBXNativeTarget "OpenVPNAdapter macOS Tests" */; buildPhases = ( + C924E1A4215D021B00AEDEB5 /* Fill VPN Profile */, C9D2ABF51EA212A3007EDF9D /* Sources */, C9D2ABF81EA212A3007EDF9D /* Frameworks */, C9D2ABFA1EA212A3007EDF9D /* Resources */, @@ -848,6 +850,42 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ + C924E1A4215D021B00AEDEB5 /* Fill VPN Profile */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + ); + name = "Fill VPN Profile"; + outputFileListPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "ruby \"${SRCROOT}/Scripts/fill_vpn_profile.rb\"\n"; + }; + C924E1A5215D15C600AEDEB5 /* Fill VPN Profile */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + ); + name = "Fill VPN Profile"; + outputFileListPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "ruby \"${SRCROOT}/Scripts/fill_vpn_profile.rb\"\n"; + }; C9BB476E1E716E7000F3F98C /* Check Warning And Error Tags */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647;