Merge branch 'reorganize-project'
This commit is contained in:
commit
2886222cd6
|
@ -1,7 +0,0 @@
|
||||||
.DS_Store
|
|
||||||
*.swp
|
|
||||||
*.pbxuser
|
|
||||||
**/*.xcworkspace/xcuserdata
|
|
||||||
**/*.xcodeproj/project.xcworkspace
|
|
||||||
**/*.xcodeproj/xcuserdata
|
|
||||||
Pods
|
|
|
@ -1,31 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>CFBundleDevelopmentRegion</key>
|
|
||||||
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
|
||||||
<key>CFBundleDisplayName</key>
|
|
||||||
<string>BasicTunnelExtension</string>
|
|
||||||
<key>CFBundleExecutable</key>
|
|
||||||
<string>$(EXECUTABLE_NAME)</string>
|
|
||||||
<key>CFBundleIdentifier</key>
|
|
||||||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
|
||||||
<key>CFBundleInfoDictionaryVersion</key>
|
|
||||||
<string>6.0</string>
|
|
||||||
<key>CFBundleName</key>
|
|
||||||
<string>$(PRODUCT_NAME)</string>
|
|
||||||
<key>CFBundlePackageType</key>
|
|
||||||
<string>XPC!</string>
|
|
||||||
<key>CFBundleShortVersionString</key>
|
|
||||||
<string>1.0</string>
|
|
||||||
<key>CFBundleVersion</key>
|
|
||||||
<string>1</string>
|
|
||||||
<key>NSExtension</key>
|
|
||||||
<dict>
|
|
||||||
<key>NSExtensionPointIdentifier</key>
|
|
||||||
<string>com.apple.networkextension.packet-tunnel</string>
|
|
||||||
<key>NSExtensionPrincipalClass</key>
|
|
||||||
<string>$(PRODUCT_MODULE_NAME).PacketTunnelProvider</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
|
@ -1,29 +0,0 @@
|
||||||
//
|
|
||||||
// PacketTunnelProvider.swift
|
|
||||||
// Demo
|
|
||||||
//
|
|
||||||
// Created by Davide De Rosa on 10/15/17.
|
|
||||||
// Copyright (c) 2020 Davide De Rosa. All rights reserved.
|
|
||||||
//
|
|
||||||
// https://github.com/keeshux
|
|
||||||
//
|
|
||||||
// This file is part of TunnelKit.
|
|
||||||
//
|
|
||||||
// TunnelKit is free software: you can redistribute it and/or modify
|
|
||||||
// it under the terms of the GNU General Public License as published by
|
|
||||||
// the Free Software Foundation, either version 3 of the License, or
|
|
||||||
// (at your option) any later version.
|
|
||||||
//
|
|
||||||
// TunnelKit is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License
|
|
||||||
// along with TunnelKit. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
//
|
|
||||||
|
|
||||||
import TunnelKit
|
|
||||||
|
|
||||||
class PacketTunnelProvider: OpenVPNTunnelProvider {
|
|
||||||
}
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,10 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<Workspace
|
|
||||||
version = "1.0">
|
|
||||||
<FileRef
|
|
||||||
location = "group:Demo.xcodeproj">
|
|
||||||
</FileRef>
|
|
||||||
<FileRef
|
|
||||||
location = "group:Pods/Pods.xcodeproj">
|
|
||||||
</FileRef>
|
|
||||||
</Workspace>
|
|
|
@ -1,8 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>IDEDidComputeMac32BitWarning</key>
|
|
||||||
<true/>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
24
Demo/Podfile
24
Demo/Podfile
|
@ -1,24 +0,0 @@
|
||||||
source 'https://github.com/CocoaPods/Specs.git'
|
|
||||||
use_frameworks!
|
|
||||||
|
|
||||||
abstract_target 'iOS' do
|
|
||||||
platform :ios, '12.0'
|
|
||||||
|
|
||||||
target 'BasicTunnelExtension-iOS' do
|
|
||||||
pod 'TunnelKit', :path => '..'
|
|
||||||
pod 'TunnelKit/Manager', :path => '..'
|
|
||||||
end
|
|
||||||
target 'BasicTunnel-iOS' do
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
abstract_target 'macOS' do
|
|
||||||
platform :osx, '10.15'
|
|
||||||
|
|
||||||
target 'BasicTunnelExtension-macOS' do
|
|
||||||
pod 'TunnelKit', :path => '..'
|
|
||||||
pod 'TunnelKit/Manager', :path => '..'
|
|
||||||
end
|
|
||||||
target 'BasicTunnel-macOS' do
|
|
||||||
end
|
|
||||||
end
|
|
|
@ -1,39 +0,0 @@
|
||||||
PODS:
|
|
||||||
- OpenSSL-Apple (1.1.1h.10)
|
|
||||||
- SwiftyBeaver (1.9.3)
|
|
||||||
- TunnelKit (3.2.0):
|
|
||||||
- TunnelKit/Protocols/OpenVPN (= 3.2.0)
|
|
||||||
- TunnelKit/AppExtension (3.2.0):
|
|
||||||
- SwiftyBeaver
|
|
||||||
- TunnelKit/Core
|
|
||||||
- TunnelKit/Core (3.2.0):
|
|
||||||
- SwiftyBeaver
|
|
||||||
- TunnelKit/Manager (3.2.0):
|
|
||||||
- SwiftyBeaver
|
|
||||||
- TunnelKit/Protocols/OpenVPN (3.2.0):
|
|
||||||
- OpenSSL-Apple (~> 1.1.1h.10)
|
|
||||||
- TunnelKit/AppExtension
|
|
||||||
- TunnelKit/Core
|
|
||||||
- TunnelKit/Manager
|
|
||||||
|
|
||||||
DEPENDENCIES:
|
|
||||||
- TunnelKit (from `..`)
|
|
||||||
- TunnelKit/Manager (from `..`)
|
|
||||||
|
|
||||||
SPEC REPOS:
|
|
||||||
https://github.com/cocoapods/specs.git:
|
|
||||||
- OpenSSL-Apple
|
|
||||||
- SwiftyBeaver
|
|
||||||
|
|
||||||
EXTERNAL SOURCES:
|
|
||||||
TunnelKit:
|
|
||||||
:path: ".."
|
|
||||||
|
|
||||||
SPEC CHECKSUMS:
|
|
||||||
OpenSSL-Apple: 8a8fcb06fb66f9c2f7aed45ce363668493b8e5f6
|
|
||||||
SwiftyBeaver: 2e8acd6fc90c6d0a27055867a290794926d57c02
|
|
||||||
TunnelKit: b9ea352cbcce641f98687109c2e7d8cb1fa40e19
|
|
||||||
|
|
||||||
PODFILE CHECKSUM: 518aaea9a529c96ba3024918bc0850dd6e92ac61
|
|
||||||
|
|
||||||
COCOAPODS: 1.10.0
|
|
25
Podfile
25
Podfile
|
@ -6,23 +6,36 @@ def shared_pods
|
||||||
pod 'OpenSSL-Apple', '~> 1.1.1h.10'
|
pod 'OpenSSL-Apple', '~> 1.1.1h.10'
|
||||||
end
|
end
|
||||||
|
|
||||||
abstract_target 'TunnelKit' do
|
def demo_pods
|
||||||
|
pod 'SwiftyBeaver'
|
||||||
|
end
|
||||||
|
|
||||||
|
abstract_target 'ios' do
|
||||||
|
platform :ios, '12.0'
|
||||||
target 'TunnelKit-iOS' do
|
target 'TunnelKit-iOS' do
|
||||||
platform :ios, '12.0'
|
|
||||||
shared_pods
|
shared_pods
|
||||||
end
|
end
|
||||||
target 'TunnelKitTests-iOS' do
|
target 'TunnelKitTests-iOS' do
|
||||||
platform :ios, '12.0'
|
|
||||||
end
|
end
|
||||||
target 'TunnelKitHost' do
|
target 'TunnelKitHost' do
|
||||||
platform :ios, '12.0'
|
|
||||||
end
|
end
|
||||||
|
target 'TunnelKitDemo-iOS' do
|
||||||
|
demo_pods
|
||||||
|
end
|
||||||
|
target 'TunnelKitDemoTunnel-iOS' do
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
abstract_target 'macos' do
|
||||||
|
platform :osx, '10.15'
|
||||||
target 'TunnelKit-macOS' do
|
target 'TunnelKit-macOS' do
|
||||||
platform :osx, '10.15'
|
|
||||||
shared_pods
|
shared_pods
|
||||||
end
|
end
|
||||||
target 'TunnelKitTests-macOS' do
|
target 'TunnelKitTests-macOS' do
|
||||||
platform :osx, '10.15'
|
end
|
||||||
|
target 'TunnelKitDemo-macOS' do
|
||||||
|
demo_pods
|
||||||
|
end
|
||||||
|
target 'TunnelKitDemoTunnel-macOS' do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -15,6 +15,6 @@ SPEC CHECKSUMS:
|
||||||
OpenSSL-Apple: 8a8fcb06fb66f9c2f7aed45ce363668493b8e5f6
|
OpenSSL-Apple: 8a8fcb06fb66f9c2f7aed45ce363668493b8e5f6
|
||||||
SwiftyBeaver: 2e8acd6fc90c6d0a27055867a290794926d57c02
|
SwiftyBeaver: 2e8acd6fc90c6d0a27055867a290794926d57c02
|
||||||
|
|
||||||
PODFILE CHECKSUM: 39765227a0228f8761650ff44b1d28aad5cf3b52
|
PODFILE CHECKSUM: 3be01de221483b2dd290bdb02ec2c4bce662c5bf
|
||||||
|
|
||||||
COCOAPODS: 1.10.0
|
COCOAPODS: 1.10.0
|
||||||
|
|
|
@ -1,24 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>CFBundleDevelopmentRegion</key>
|
|
||||||
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
|
||||||
<key>CFBundleExecutable</key>
|
|
||||||
<string>$(EXECUTABLE_NAME)</string>
|
|
||||||
<key>CFBundleIdentifier</key>
|
|
||||||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
|
||||||
<key>CFBundleInfoDictionaryVersion</key>
|
|
||||||
<string>6.0</string>
|
|
||||||
<key>CFBundleName</key>
|
|
||||||
<string>$(PRODUCT_NAME)</string>
|
|
||||||
<key>CFBundlePackageType</key>
|
|
||||||
<string>FMWK</string>
|
|
||||||
<key>CFBundleShortVersionString</key>
|
|
||||||
<string>1.1.0</string>
|
|
||||||
<key>CFBundleVersion</key>
|
|
||||||
<string>$(CURRENT_PROJECT_VERSION)</string>
|
|
||||||
<key>NSPrincipalClass</key>
|
|
||||||
<string></string>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<Scheme
|
<Scheme
|
||||||
LastUpgradeVersion = "1220"
|
LastUpgradeVersion = "1230"
|
||||||
version = "1.3">
|
version = "1.3">
|
||||||
<BuildAction
|
<BuildAction
|
||||||
parallelizeBuildables = "YES"
|
parallelizeBuildables = "YES"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<Scheme
|
<Scheme
|
||||||
LastUpgradeVersion = "1220"
|
LastUpgradeVersion = "1230"
|
||||||
version = "1.3">
|
version = "1.3">
|
||||||
<BuildAction
|
<BuildAction
|
||||||
parallelizeBuildables = "YES"
|
parallelizeBuildables = "YES"
|
||||||
|
|
|
@ -0,0 +1,78 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Scheme
|
||||||
|
LastUpgradeVersion = "1230"
|
||||||
|
version = "1.3">
|
||||||
|
<BuildAction
|
||||||
|
parallelizeBuildables = "YES"
|
||||||
|
buildImplicitDependencies = "YES">
|
||||||
|
<BuildActionEntries>
|
||||||
|
<BuildActionEntry
|
||||||
|
buildForTesting = "YES"
|
||||||
|
buildForRunning = "YES"
|
||||||
|
buildForProfiling = "YES"
|
||||||
|
buildForArchiving = "YES"
|
||||||
|
buildForAnalyzing = "YES">
|
||||||
|
<BuildableReference
|
||||||
|
BuildableIdentifier = "primary"
|
||||||
|
BlueprintIdentifier = "0E05416825A232FD00EFC5FF"
|
||||||
|
BuildableName = "TunnelKitDemo-iOS.app"
|
||||||
|
BlueprintName = "TunnelKitDemo-iOS"
|
||||||
|
ReferencedContainer = "container:TunnelKit.xcodeproj">
|
||||||
|
</BuildableReference>
|
||||||
|
</BuildActionEntry>
|
||||||
|
</BuildActionEntries>
|
||||||
|
</BuildAction>
|
||||||
|
<TestAction
|
||||||
|
buildConfiguration = "Debug"
|
||||||
|
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||||
|
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||||
|
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||||
|
<Testables>
|
||||||
|
</Testables>
|
||||||
|
</TestAction>
|
||||||
|
<LaunchAction
|
||||||
|
buildConfiguration = "Debug"
|
||||||
|
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||||
|
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||||
|
launchStyle = "0"
|
||||||
|
useCustomWorkingDirectory = "NO"
|
||||||
|
ignoresPersistentStateOnLaunch = "NO"
|
||||||
|
debugDocumentVersioning = "YES"
|
||||||
|
debugServiceExtension = "internal"
|
||||||
|
allowLocationSimulation = "YES">
|
||||||
|
<BuildableProductRunnable
|
||||||
|
runnableDebuggingMode = "0">
|
||||||
|
<BuildableReference
|
||||||
|
BuildableIdentifier = "primary"
|
||||||
|
BlueprintIdentifier = "0E05416825A232FD00EFC5FF"
|
||||||
|
BuildableName = "TunnelKitDemo-iOS.app"
|
||||||
|
BlueprintName = "TunnelKitDemo-iOS"
|
||||||
|
ReferencedContainer = "container:TunnelKit.xcodeproj">
|
||||||
|
</BuildableReference>
|
||||||
|
</BuildableProductRunnable>
|
||||||
|
</LaunchAction>
|
||||||
|
<ProfileAction
|
||||||
|
buildConfiguration = "Release"
|
||||||
|
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||||
|
savedToolIdentifier = ""
|
||||||
|
useCustomWorkingDirectory = "NO"
|
||||||
|
debugDocumentVersioning = "YES">
|
||||||
|
<BuildableProductRunnable
|
||||||
|
runnableDebuggingMode = "0">
|
||||||
|
<BuildableReference
|
||||||
|
BuildableIdentifier = "primary"
|
||||||
|
BlueprintIdentifier = "0E05416825A232FD00EFC5FF"
|
||||||
|
BuildableName = "TunnelKitDemo-iOS.app"
|
||||||
|
BlueprintName = "TunnelKitDemo-iOS"
|
||||||
|
ReferencedContainer = "container:TunnelKit.xcodeproj">
|
||||||
|
</BuildableReference>
|
||||||
|
</BuildableProductRunnable>
|
||||||
|
</ProfileAction>
|
||||||
|
<AnalyzeAction
|
||||||
|
buildConfiguration = "Debug">
|
||||||
|
</AnalyzeAction>
|
||||||
|
<ArchiveAction
|
||||||
|
buildConfiguration = "Release"
|
||||||
|
revealArchiveInOrganizer = "YES">
|
||||||
|
</ArchiveAction>
|
||||||
|
</Scheme>
|
|
@ -0,0 +1,78 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Scheme
|
||||||
|
LastUpgradeVersion = "1230"
|
||||||
|
version = "1.3">
|
||||||
|
<BuildAction
|
||||||
|
parallelizeBuildables = "YES"
|
||||||
|
buildImplicitDependencies = "YES">
|
||||||
|
<BuildActionEntries>
|
||||||
|
<BuildActionEntry
|
||||||
|
buildForTesting = "YES"
|
||||||
|
buildForRunning = "YES"
|
||||||
|
buildForProfiling = "YES"
|
||||||
|
buildForArchiving = "YES"
|
||||||
|
buildForAnalyzing = "YES">
|
||||||
|
<BuildableReference
|
||||||
|
BuildableIdentifier = "primary"
|
||||||
|
BlueprintIdentifier = "0E05422B25A236EB00EFC5FF"
|
||||||
|
BuildableName = "TunnelKitDemo-macOS.app"
|
||||||
|
BlueprintName = "TunnelKitDemo-macOS"
|
||||||
|
ReferencedContainer = "container:TunnelKit.xcodeproj">
|
||||||
|
</BuildableReference>
|
||||||
|
</BuildActionEntry>
|
||||||
|
</BuildActionEntries>
|
||||||
|
</BuildAction>
|
||||||
|
<TestAction
|
||||||
|
buildConfiguration = "Debug"
|
||||||
|
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||||
|
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||||
|
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||||
|
<Testables>
|
||||||
|
</Testables>
|
||||||
|
</TestAction>
|
||||||
|
<LaunchAction
|
||||||
|
buildConfiguration = "Debug"
|
||||||
|
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||||
|
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||||
|
launchStyle = "0"
|
||||||
|
useCustomWorkingDirectory = "NO"
|
||||||
|
ignoresPersistentStateOnLaunch = "NO"
|
||||||
|
debugDocumentVersioning = "YES"
|
||||||
|
debugServiceExtension = "internal"
|
||||||
|
allowLocationSimulation = "YES">
|
||||||
|
<BuildableProductRunnable
|
||||||
|
runnableDebuggingMode = "0">
|
||||||
|
<BuildableReference
|
||||||
|
BuildableIdentifier = "primary"
|
||||||
|
BlueprintIdentifier = "0E05422B25A236EB00EFC5FF"
|
||||||
|
BuildableName = "TunnelKitDemo-macOS.app"
|
||||||
|
BlueprintName = "TunnelKitDemo-macOS"
|
||||||
|
ReferencedContainer = "container:TunnelKit.xcodeproj">
|
||||||
|
</BuildableReference>
|
||||||
|
</BuildableProductRunnable>
|
||||||
|
</LaunchAction>
|
||||||
|
<ProfileAction
|
||||||
|
buildConfiguration = "Release"
|
||||||
|
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||||
|
savedToolIdentifier = ""
|
||||||
|
useCustomWorkingDirectory = "NO"
|
||||||
|
debugDocumentVersioning = "YES">
|
||||||
|
<BuildableProductRunnable
|
||||||
|
runnableDebuggingMode = "0">
|
||||||
|
<BuildableReference
|
||||||
|
BuildableIdentifier = "primary"
|
||||||
|
BlueprintIdentifier = "0E05422B25A236EB00EFC5FF"
|
||||||
|
BuildableName = "TunnelKitDemo-macOS.app"
|
||||||
|
BlueprintName = "TunnelKitDemo-macOS"
|
||||||
|
ReferencedContainer = "container:TunnelKit.xcodeproj">
|
||||||
|
</BuildableReference>
|
||||||
|
</BuildableProductRunnable>
|
||||||
|
</ProfileAction>
|
||||||
|
<AnalyzeAction
|
||||||
|
buildConfiguration = "Debug">
|
||||||
|
</AnalyzeAction>
|
||||||
|
<ArchiveAction
|
||||||
|
buildConfiguration = "Release"
|
||||||
|
revealArchiveInOrganizer = "YES">
|
||||||
|
</ArchiveAction>
|
||||||
|
</Scheme>
|
|
@ -0,0 +1,96 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Scheme
|
||||||
|
LastUpgradeVersion = "1230"
|
||||||
|
wasCreatedForAppExtension = "YES"
|
||||||
|
version = "2.0">
|
||||||
|
<BuildAction
|
||||||
|
parallelizeBuildables = "YES"
|
||||||
|
buildImplicitDependencies = "YES">
|
||||||
|
<BuildActionEntries>
|
||||||
|
<BuildActionEntry
|
||||||
|
buildForTesting = "YES"
|
||||||
|
buildForRunning = "YES"
|
||||||
|
buildForProfiling = "YES"
|
||||||
|
buildForArchiving = "YES"
|
||||||
|
buildForAnalyzing = "YES">
|
||||||
|
<BuildableReference
|
||||||
|
BuildableIdentifier = "primary"
|
||||||
|
BlueprintIdentifier = "0E05419E25A2343500EFC5FF"
|
||||||
|
BuildableName = "TunnelKitDemoTunnel-iOS.appex"
|
||||||
|
BlueprintName = "TunnelKitDemoTunnel-iOS"
|
||||||
|
ReferencedContainer = "container:TunnelKit.xcodeproj">
|
||||||
|
</BuildableReference>
|
||||||
|
</BuildActionEntry>
|
||||||
|
<BuildActionEntry
|
||||||
|
buildForTesting = "YES"
|
||||||
|
buildForRunning = "YES"
|
||||||
|
buildForProfiling = "YES"
|
||||||
|
buildForArchiving = "YES"
|
||||||
|
buildForAnalyzing = "YES">
|
||||||
|
<BuildableReference
|
||||||
|
BuildableIdentifier = "primary"
|
||||||
|
BlueprintIdentifier = "0E05416825A232FD00EFC5FF"
|
||||||
|
BuildableName = "TunnelKitDemo-iOS.app"
|
||||||
|
BlueprintName = "TunnelKitDemo-iOS"
|
||||||
|
ReferencedContainer = "container:TunnelKit.xcodeproj">
|
||||||
|
</BuildableReference>
|
||||||
|
</BuildActionEntry>
|
||||||
|
</BuildActionEntries>
|
||||||
|
</BuildAction>
|
||||||
|
<TestAction
|
||||||
|
buildConfiguration = "Debug"
|
||||||
|
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||||
|
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||||
|
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||||
|
<Testables>
|
||||||
|
</Testables>
|
||||||
|
</TestAction>
|
||||||
|
<LaunchAction
|
||||||
|
buildConfiguration = "Debug"
|
||||||
|
selectedDebuggerIdentifier = ""
|
||||||
|
selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn"
|
||||||
|
launchStyle = "0"
|
||||||
|
askForAppToLaunch = "Yes"
|
||||||
|
useCustomWorkingDirectory = "NO"
|
||||||
|
ignoresPersistentStateOnLaunch = "NO"
|
||||||
|
debugDocumentVersioning = "YES"
|
||||||
|
debugServiceExtension = "internal"
|
||||||
|
allowLocationSimulation = "YES"
|
||||||
|
launchAutomaticallySubstyle = "2">
|
||||||
|
<BuildableProductRunnable
|
||||||
|
runnableDebuggingMode = "0">
|
||||||
|
<BuildableReference
|
||||||
|
BuildableIdentifier = "primary"
|
||||||
|
BlueprintIdentifier = "0E05416825A232FD00EFC5FF"
|
||||||
|
BuildableName = "TunnelKitDemo-iOS.app"
|
||||||
|
BlueprintName = "TunnelKitDemo-iOS"
|
||||||
|
ReferencedContainer = "container:TunnelKit.xcodeproj">
|
||||||
|
</BuildableReference>
|
||||||
|
</BuildableProductRunnable>
|
||||||
|
</LaunchAction>
|
||||||
|
<ProfileAction
|
||||||
|
buildConfiguration = "Release"
|
||||||
|
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||||
|
savedToolIdentifier = ""
|
||||||
|
useCustomWorkingDirectory = "NO"
|
||||||
|
debugDocumentVersioning = "YES"
|
||||||
|
launchAutomaticallySubstyle = "2">
|
||||||
|
<BuildableProductRunnable
|
||||||
|
runnableDebuggingMode = "0">
|
||||||
|
<BuildableReference
|
||||||
|
BuildableIdentifier = "primary"
|
||||||
|
BlueprintIdentifier = "0E05416825A232FD00EFC5FF"
|
||||||
|
BuildableName = "TunnelKitDemo-iOS.app"
|
||||||
|
BlueprintName = "TunnelKitDemo-iOS"
|
||||||
|
ReferencedContainer = "container:TunnelKit.xcodeproj">
|
||||||
|
</BuildableReference>
|
||||||
|
</BuildableProductRunnable>
|
||||||
|
</ProfileAction>
|
||||||
|
<AnalyzeAction
|
||||||
|
buildConfiguration = "Debug">
|
||||||
|
</AnalyzeAction>
|
||||||
|
<ArchiveAction
|
||||||
|
buildConfiguration = "Release"
|
||||||
|
revealArchiveInOrganizer = "YES">
|
||||||
|
</ArchiveAction>
|
||||||
|
</Scheme>
|
|
@ -0,0 +1,96 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Scheme
|
||||||
|
LastUpgradeVersion = "1230"
|
||||||
|
wasCreatedForAppExtension = "YES"
|
||||||
|
version = "2.0">
|
||||||
|
<BuildAction
|
||||||
|
parallelizeBuildables = "YES"
|
||||||
|
buildImplicitDependencies = "YES">
|
||||||
|
<BuildActionEntries>
|
||||||
|
<BuildActionEntry
|
||||||
|
buildForTesting = "YES"
|
||||||
|
buildForRunning = "YES"
|
||||||
|
buildForProfiling = "YES"
|
||||||
|
buildForArchiving = "YES"
|
||||||
|
buildForAnalyzing = "YES">
|
||||||
|
<BuildableReference
|
||||||
|
BuildableIdentifier = "primary"
|
||||||
|
BlueprintIdentifier = "0E05427625A239C600EFC5FF"
|
||||||
|
BuildableName = "TunnelKitDemoTunnel-macOS.appex"
|
||||||
|
BlueprintName = "TunnelKitDemoTunnel-macOS"
|
||||||
|
ReferencedContainer = "container:TunnelKit.xcodeproj">
|
||||||
|
</BuildableReference>
|
||||||
|
</BuildActionEntry>
|
||||||
|
<BuildActionEntry
|
||||||
|
buildForTesting = "YES"
|
||||||
|
buildForRunning = "YES"
|
||||||
|
buildForProfiling = "YES"
|
||||||
|
buildForArchiving = "YES"
|
||||||
|
buildForAnalyzing = "YES">
|
||||||
|
<BuildableReference
|
||||||
|
BuildableIdentifier = "primary"
|
||||||
|
BlueprintIdentifier = "0E05422B25A236EB00EFC5FF"
|
||||||
|
BuildableName = "TunnelKitDemo-macOS.app"
|
||||||
|
BlueprintName = "TunnelKitDemo-macOS"
|
||||||
|
ReferencedContainer = "container:TunnelKit.xcodeproj">
|
||||||
|
</BuildableReference>
|
||||||
|
</BuildActionEntry>
|
||||||
|
</BuildActionEntries>
|
||||||
|
</BuildAction>
|
||||||
|
<TestAction
|
||||||
|
buildConfiguration = "Debug"
|
||||||
|
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||||
|
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||||
|
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||||
|
<Testables>
|
||||||
|
</Testables>
|
||||||
|
</TestAction>
|
||||||
|
<LaunchAction
|
||||||
|
buildConfiguration = "Debug"
|
||||||
|
selectedDebuggerIdentifier = ""
|
||||||
|
selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn"
|
||||||
|
launchStyle = "0"
|
||||||
|
askForAppToLaunch = "Yes"
|
||||||
|
useCustomWorkingDirectory = "NO"
|
||||||
|
ignoresPersistentStateOnLaunch = "NO"
|
||||||
|
debugDocumentVersioning = "YES"
|
||||||
|
debugServiceExtension = "internal"
|
||||||
|
allowLocationSimulation = "YES"
|
||||||
|
launchAutomaticallySubstyle = "2">
|
||||||
|
<BuildableProductRunnable
|
||||||
|
runnableDebuggingMode = "0">
|
||||||
|
<BuildableReference
|
||||||
|
BuildableIdentifier = "primary"
|
||||||
|
BlueprintIdentifier = "0E05422B25A236EB00EFC5FF"
|
||||||
|
BuildableName = "TunnelKitDemo-macOS.app"
|
||||||
|
BlueprintName = "TunnelKitDemo-macOS"
|
||||||
|
ReferencedContainer = "container:TunnelKit.xcodeproj">
|
||||||
|
</BuildableReference>
|
||||||
|
</BuildableProductRunnable>
|
||||||
|
</LaunchAction>
|
||||||
|
<ProfileAction
|
||||||
|
buildConfiguration = "Release"
|
||||||
|
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||||
|
savedToolIdentifier = ""
|
||||||
|
useCustomWorkingDirectory = "NO"
|
||||||
|
debugDocumentVersioning = "YES"
|
||||||
|
launchAutomaticallySubstyle = "2">
|
||||||
|
<BuildableProductRunnable
|
||||||
|
runnableDebuggingMode = "0">
|
||||||
|
<BuildableReference
|
||||||
|
BuildableIdentifier = "primary"
|
||||||
|
BlueprintIdentifier = "0E05422B25A236EB00EFC5FF"
|
||||||
|
BuildableName = "TunnelKitDemo-macOS.app"
|
||||||
|
BlueprintName = "TunnelKitDemo-macOS"
|
||||||
|
ReferencedContainer = "container:TunnelKit.xcodeproj">
|
||||||
|
</BuildableReference>
|
||||||
|
</BuildableProductRunnable>
|
||||||
|
</ProfileAction>
|
||||||
|
<AnalyzeAction
|
||||||
|
buildConfiguration = "Debug">
|
||||||
|
</AnalyzeAction>
|
||||||
|
<ArchiveAction
|
||||||
|
buildConfiguration = "Release"
|
||||||
|
revealArchiveInOrganizer = "YES">
|
||||||
|
</ArchiveAction>
|
||||||
|
</Scheme>
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<Scheme
|
<Scheme
|
||||||
LastUpgradeVersion = "1220"
|
LastUpgradeVersion = "1230"
|
||||||
version = "1.3">
|
version = "1.3">
|
||||||
<BuildAction
|
<BuildAction
|
||||||
parallelizeBuildables = "YES"
|
parallelizeBuildables = "YES"
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
// Demo
|
// Demo
|
||||||
//
|
//
|
||||||
// Created by Davide De Rosa on 6/13/20.
|
// Created by Davide De Rosa on 6/13/20.
|
||||||
// Copyright (c) 2020 Davide De Rosa. All rights reserved.
|
// Copyright (c) 2021 Davide De Rosa. All rights reserved.
|
||||||
//
|
//
|
||||||
// https://github.com/keeshux
|
// https://github.com/keeshux
|
||||||
//
|
//
|
|
@ -30,6 +30,6 @@
|
||||||
<string>$(PRODUCT_MODULE_NAME).PacketTunnelProvider</string>
|
<string>$(PRODUCT_MODULE_NAME).PacketTunnelProvider</string>
|
||||||
</dict>
|
</dict>
|
||||||
<key>NSHumanReadableCopyright</key>
|
<key>NSHumanReadableCopyright</key>
|
||||||
<string>Copyright (c) 2020 Davide De Rosa. All rights reserved.</string>
|
<string>Copyright (c) 2021 Davide De Rosa. All rights reserved.</string>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
|
@ -3,7 +3,7 @@
|
||||||
// Demo
|
// Demo
|
||||||
//
|
//
|
||||||
// Created by Davide De Rosa on 9/15/17.
|
// Created by Davide De Rosa on 9/15/17.
|
||||||
// Copyright (c) 2020 Davide De Rosa. All rights reserved.
|
// Copyright (c) 2021 Davide De Rosa. All rights reserved.
|
||||||
//
|
//
|
||||||
// https://github.com/keeshux
|
// https://github.com/keeshux
|
||||||
//
|
//
|
|
@ -3,7 +3,7 @@
|
||||||
// Demo
|
// Demo
|
||||||
//
|
//
|
||||||
// Created by Davide De Rosa on 2/11/17.
|
// Created by Davide De Rosa on 2/11/17.
|
||||||
// Copyright (c) 2020 Davide De Rosa. All rights reserved.
|
// Copyright (c) 2021 Davide De Rosa. All rights reserved.
|
||||||
//
|
//
|
||||||
// https://github.com/keeshux
|
// https://github.com/keeshux
|
||||||
//
|
//
|
|
@ -8,11 +8,11 @@
|
||||||
</array>
|
</array>
|
||||||
<key>com.apple.security.application-groups</key>
|
<key>com.apple.security.application-groups</key>
|
||||||
<array>
|
<array>
|
||||||
<string>group.com.algoritmico.ios.demo.BasicTunnel</string>
|
<string>group.com.algoritmico.TunnelKit.Demo</string>
|
||||||
</array>
|
</array>
|
||||||
<key>keychain-access-groups</key>
|
<key>keychain-access-groups</key>
|
||||||
<array>
|
<array>
|
||||||
<string>$(AppIdentifierPrefix)group.com.algoritmico.ios.demo.BasicTunnel</string>
|
<string>$(AppIdentifierPrefix)group.com.algoritmico.TunnelKit.Demo</string>
|
||||||
</array>
|
</array>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
|
@ -8,11 +8,11 @@
|
||||||
</array>
|
</array>
|
||||||
<key>com.apple.security.application-groups</key>
|
<key>com.apple.security.application-groups</key>
|
||||||
<array>
|
<array>
|
||||||
<string>group.com.algoritmico.ios.demo.BasicTunnel</string>
|
<string>group.com.algoritmico.TunnelKit.Demo</string>
|
||||||
</array>
|
</array>
|
||||||
<key>keychain-access-groups</key>
|
<key>keychain-access-groups</key>
|
||||||
<array>
|
<array>
|
||||||
<string>$(AppIdentifierPrefix)group.com.algoritmico.ios.demo.BasicTunnel</string>
|
<string>$(AppIdentifierPrefix)group.com.algoritmico.TunnelKit.Demo</string>
|
||||||
</array>
|
</array>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
|
@ -3,7 +3,7 @@
|
||||||
// Demo
|
// Demo
|
||||||
//
|
//
|
||||||
// Created by Davide De Rosa on 2/11/17.
|
// Created by Davide De Rosa on 2/11/17.
|
||||||
// Copyright (c) 2020 Davide De Rosa. All rights reserved.
|
// Copyright (c) 2021 Davide De Rosa. All rights reserved.
|
||||||
//
|
//
|
||||||
// https://github.com/keeshux
|
// https://github.com/keeshux
|
||||||
//
|
//
|
||||||
|
@ -26,9 +26,9 @@
|
||||||
import UIKit
|
import UIKit
|
||||||
import TunnelKit
|
import TunnelKit
|
||||||
|
|
||||||
private let appGroup = "group.com.algoritmico.ios.demo.BasicTunnel"
|
private let appGroup = "group.com.algoritmico.TunnelKit.Demo"
|
||||||
|
|
||||||
private let tunnelIdentifier = "com.algoritmico.ios.demo.BasicTunnel.Extension"
|
private let tunnelIdentifier = "com.algoritmico.ios.TunnelKit.Demo.Tunnel"
|
||||||
|
|
||||||
class ViewController: UIViewController, URLSessionDataDelegate {
|
class ViewController: UIViewController, URLSessionDataDelegate {
|
||||||
@IBOutlet var textUsername: UITextField!
|
@IBOutlet var textUsername: UITextField!
|
|
@ -3,7 +3,7 @@
|
||||||
// Demo
|
// Demo
|
||||||
//
|
//
|
||||||
// Created by Davide De Rosa on 10/15/17.
|
// Created by Davide De Rosa on 10/15/17.
|
||||||
// Copyright (c) 2020 Davide De Rosa. All rights reserved.
|
// Copyright (c) 2021 Davide De Rosa. All rights reserved.
|
||||||
//
|
//
|
||||||
// https://github.com/keeshux
|
// https://github.com/keeshux
|
||||||
//
|
//
|
|
@ -1,8 +1,8 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="13771" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" initialViewController="B8D-0N-5wS">
|
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="17701" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" initialViewController="B8D-0N-5wS">
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<deployment identifier="macosx"/>
|
<deployment identifier="macosx"/>
|
||||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="13771"/>
|
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="17701"/>
|
||||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<scenes>
|
<scenes>
|
||||||
|
@ -620,7 +620,7 @@
|
||||||
<menuItem title="Show Sidebar" keyEquivalent="s" id="kIP-vf-haE">
|
<menuItem title="Show Sidebar" keyEquivalent="s" id="kIP-vf-haE">
|
||||||
<modifierMask key="keyEquivalentModifierMask" control="YES" command="YES"/>
|
<modifierMask key="keyEquivalentModifierMask" control="YES" command="YES"/>
|
||||||
<connections>
|
<connections>
|
||||||
<action selector="toggleSourceList:" target="Ady-hI-5gd" id="iwa-gc-5KM"/>
|
<action selector="toggleSidebar:" target="Ady-hI-5gd" id="iwa-gc-5KM"/>
|
||||||
</connections>
|
</connections>
|
||||||
</menuItem>
|
</menuItem>
|
||||||
<menuItem title="Enter Full Screen" keyEquivalent="f" id="4J7-dP-txa">
|
<menuItem title="Enter Full Screen" keyEquivalent="f" id="4J7-dP-txa">
|
||||||
|
@ -675,7 +675,7 @@
|
||||||
<outlet property="delegate" destination="Voe-Tx-rLC" id="PrD-fu-P6m"/>
|
<outlet property="delegate" destination="Voe-Tx-rLC" id="PrD-fu-P6m"/>
|
||||||
</connections>
|
</connections>
|
||||||
</application>
|
</application>
|
||||||
<customObject id="Voe-Tx-rLC" customClass="AppDelegate" customModule="BasicTunnel_macOS" customModuleProvider="target"/>
|
<customObject id="Voe-Tx-rLC" customClass="AppDelegate" customModule="Demo_macOS" customModuleProvider="target"/>
|
||||||
<customObject id="YLy-65-1bz" customClass="NSFontManager"/>
|
<customObject id="YLy-65-1bz" customClass="NSFontManager"/>
|
||||||
<customObject id="Ady-hI-5gd" userLabel="First Responder" customClass="NSResponder" sceneMemberID="firstResponder"/>
|
<customObject id="Ady-hI-5gd" userLabel="First Responder" customClass="NSResponder" sceneMemberID="firstResponder"/>
|
||||||
</objects>
|
</objects>
|
||||||
|
@ -685,7 +685,7 @@
|
||||||
<scene sceneID="R2V-B0-nI4">
|
<scene sceneID="R2V-B0-nI4">
|
||||||
<objects>
|
<objects>
|
||||||
<windowController id="B8D-0N-5wS" sceneMemberID="viewController">
|
<windowController id="B8D-0N-5wS" sceneMemberID="viewController">
|
||||||
<window key="window" title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" oneShot="NO" releasedWhenClosed="NO" showsToolbarButton="NO" visibleAtLaunch="NO" animationBehavior="default" id="IQv-IB-iLA">
|
<window key="window" title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" id="IQv-IB-iLA">
|
||||||
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
|
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
|
||||||
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
|
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
|
||||||
<rect key="contentRect" x="196" y="240" width="480" height="480"/>
|
<rect key="contentRect" x="196" y="240" width="480" height="480"/>
|
||||||
|
@ -705,59 +705,59 @@
|
||||||
<!--View Controller-->
|
<!--View Controller-->
|
||||||
<scene sceneID="hIz-AP-VOD">
|
<scene sceneID="hIz-AP-VOD">
|
||||||
<objects>
|
<objects>
|
||||||
<viewController id="XfG-lQ-9wD" customClass="ViewController" customModule="BasicTunnel_macOS" customModuleProvider="target" sceneMemberID="viewController">
|
<viewController id="XfG-lQ-9wD" customClass="ViewController" customModule="Demo_macOS" customModuleProvider="target" sceneMemberID="viewController">
|
||||||
<view key="view" wantsLayer="YES" id="m2S-Jp-Qdl">
|
<view key="view" wantsLayer="YES" id="m2S-Jp-Qdl">
|
||||||
<rect key="frame" x="0.0" y="0.0" width="480" height="143"/>
|
<rect key="frame" x="0.0" y="0.0" width="480" height="140"/>
|
||||||
<autoresizingMask key="autoresizingMask"/>
|
<autoresizingMask key="autoresizingMask"/>
|
||||||
<subviews>
|
<subviews>
|
||||||
<textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="i3T-uV-wV3">
|
<textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="i3T-uV-wV3">
|
||||||
<rect key="frame" x="20" y="101" width="100" height="22"/>
|
<rect key="frame" x="20" y="99" width="100" height="21"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="width" constant="100" id="15v-2e-tlT"/>
|
<constraint firstAttribute="width" constant="100" id="15v-2e-tlT"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="qXL-ZI-P0P">
|
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="qXL-ZI-P0P">
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||||
</textFieldCell>
|
</textFieldCell>
|
||||||
</textField>
|
</textField>
|
||||||
<textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="LIN-Ps-ANN">
|
<textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="LIN-Ps-ANN">
|
||||||
<rect key="frame" x="140" y="101" width="230" height="22"/>
|
<rect key="frame" x="140" y="99" width="230" height="21"/>
|
||||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="1ir-yf-OCa">
|
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="1ir-yf-OCa">
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||||
</textFieldCell>
|
</textFieldCell>
|
||||||
</textField>
|
</textField>
|
||||||
<textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="P4h-p9-zCb">
|
<textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="P4h-p9-zCb">
|
||||||
<rect key="frame" x="390" y="101" width="70" height="22"/>
|
<rect key="frame" x="390" y="99" width="70" height="21"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<constraint firstAttribute="width" constant="70" id="Cba-GL-f5a"/>
|
<constraint firstAttribute="width" constant="70" id="Cba-GL-f5a"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="nYd-Lk-W7w">
|
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="nYd-Lk-W7w">
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||||
</textFieldCell>
|
</textFieldCell>
|
||||||
</textField>
|
</textField>
|
||||||
<textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="sFz-8v-h8e">
|
<textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="sFz-8v-h8e">
|
||||||
<rect key="frame" x="20" y="61" width="210" height="22"/>
|
<rect key="frame" x="20" y="60" width="210" height="21"/>
|
||||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="ljE-Uv-5Le">
|
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="ljE-Uv-5Le">
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||||
</textFieldCell>
|
</textFieldCell>
|
||||||
</textField>
|
</textField>
|
||||||
<textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="et1-VP-AGe">
|
<textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="et1-VP-AGe">
|
||||||
<rect key="frame" x="250" y="61" width="210" height="22"/>
|
<rect key="frame" x="250" y="60" width="210" height="21"/>
|
||||||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="0sQ-3n-XfE">
|
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="0sQ-3n-XfE">
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
||||||
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
||||||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
||||||
</textFieldCell>
|
</textFieldCell>
|
||||||
</textField>
|
</textField>
|
||||||
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="nd2-H7-u7j">
|
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="nd2-H7-u7j">
|
||||||
<rect key="frame" x="14" y="13" width="452" height="32"/>
|
<rect key="frame" x="13" y="13" width="454" height="32"/>
|
||||||
<buttonCell key="cell" type="push" title="Connect" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="bKB-ql-HWr">
|
<buttonCell key="cell" type="push" title="Connect" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="bKB-ql-HWr">
|
||||||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
||||||
<font key="font" metaFont="system"/>
|
<font key="font" metaFont="system"/>
|
|
@ -10,7 +10,7 @@
|
||||||
<true/>
|
<true/>
|
||||||
<key>com.apple.security.application-groups</key>
|
<key>com.apple.security.application-groups</key>
|
||||||
<array>
|
<array>
|
||||||
<string>$(TeamIdentifierPrefix)group.com.algoritmico.macos.demo.BasicTunnel</string>
|
<string>$(TeamIdentifierPrefix)group.com.algoritmico.TunnelKit.Demo</string>
|
||||||
</array>
|
</array>
|
||||||
<key>com.apple.security.network.client</key>
|
<key>com.apple.security.network.client</key>
|
||||||
<true/>
|
<true/>
|
|
@ -25,7 +25,7 @@
|
||||||
<key>LSMinimumSystemVersion</key>
|
<key>LSMinimumSystemVersion</key>
|
||||||
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
|
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
|
||||||
<key>NSHumanReadableCopyright</key>
|
<key>NSHumanReadableCopyright</key>
|
||||||
<string>Copyright (c) 2020 Davide De Rosa. All rights reserved.</string>
|
<string>Copyright (c) 2021 Davide De Rosa. All rights reserved.</string>
|
||||||
<key>NSMainStoryboardFile</key>
|
<key>NSMainStoryboardFile</key>
|
||||||
<string>Main</string>
|
<string>Main</string>
|
||||||
<key>NSPrincipalClass</key>
|
<key>NSPrincipalClass</key>
|
|
@ -10,7 +10,7 @@
|
||||||
<true/>
|
<true/>
|
||||||
<key>com.apple.security.application-groups</key>
|
<key>com.apple.security.application-groups</key>
|
||||||
<array>
|
<array>
|
||||||
<string>$(TeamIdentifierPrefix)group.com.algoritmico.macos.demo.BasicTunnel</string>
|
<string>$(TeamIdentifierPrefix)group.com.algoritmico.TunnelKit.Demo</string>
|
||||||
</array>
|
</array>
|
||||||
<key>com.apple.security.network.client</key>
|
<key>com.apple.security.network.client</key>
|
||||||
<true/>
|
<true/>
|
|
@ -3,7 +3,7 @@
|
||||||
// Demo
|
// Demo
|
||||||
//
|
//
|
||||||
// Created by Davide De Rosa on 10/15/17.
|
// Created by Davide De Rosa on 10/15/17.
|
||||||
// Copyright (c) 2020 Davide De Rosa. All rights reserved.
|
// Copyright (c) 2021 Davide De Rosa. All rights reserved.
|
||||||
//
|
//
|
||||||
// https://github.com/keeshux
|
// https://github.com/keeshux
|
||||||
//
|
//
|
||||||
|
@ -24,12 +24,11 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
import Cocoa
|
import Cocoa
|
||||||
import NetworkExtension
|
|
||||||
import TunnelKit
|
import TunnelKit
|
||||||
|
|
||||||
private let appGroup = "DTDYD63ZX9.group.com.algoritmico.macos.demo.BasicTunnel"
|
private let appGroup = "DTDYD63ZX9.group.com.algoritmico.TunnelKit.Demo"
|
||||||
|
|
||||||
private let tunnelIdentifier = "com.algoritmico.macos.demo.BasicTunnel.Extension"
|
private let tunnelIdentifier = "com.algoritmico.macos.TunnelKit.Demo.Tunnel"
|
||||||
|
|
||||||
class ViewController: NSViewController {
|
class ViewController: NSViewController {
|
||||||
@IBOutlet var textUsername: NSTextField!
|
@IBOutlet var textUsername: NSTextField!
|
|
@ -3,7 +3,7 @@
|
||||||
// TunnelKitHost
|
// TunnelKitHost
|
||||||
//
|
//
|
||||||
// Created by Davide De Rosa on 9/24/17.
|
// Created by Davide De Rosa on 9/24/17.
|
||||||
// Copyright (c) 2020 Davide De Rosa. All rights reserved.
|
// Copyright (c) 2021 Davide De Rosa. All rights reserved.
|
||||||
//
|
//
|
||||||
// https://github.com/passepartoutvpn
|
// https://github.com/passepartoutvpn
|
||||||
//
|
//
|
|
@ -3,7 +3,7 @@
|
||||||
// TunnelKitHost
|
// TunnelKitHost
|
||||||
//
|
//
|
||||||
// Created by Davide De Rosa on 9/24/17.
|
// Created by Davide De Rosa on 9/24/17.
|
||||||
// Copyright (c) 2020 Davide De Rosa. All rights reserved.
|
// Copyright (c) 2021 Davide De Rosa. All rights reserved.
|
||||||
//
|
//
|
||||||
// https://github.com/passepartoutvpn
|
// https://github.com/passepartoutvpn
|
||||||
//
|
//
|
|
@ -3,7 +3,7 @@
|
||||||
// TunnelKitTests
|
// TunnelKitTests
|
||||||
//
|
//
|
||||||
// Created by Davide De Rosa on 8/31/18.
|
// Created by Davide De Rosa on 8/31/18.
|
||||||
// Copyright (c) 2020 Davide De Rosa. All rights reserved.
|
// Copyright (c) 2021 Davide De Rosa. All rights reserved.
|
||||||
//
|
//
|
||||||
// https://github.com/passepartoutvpn
|
// https://github.com/passepartoutvpn
|
||||||
//
|
//
|
|
@ -3,7 +3,7 @@
|
||||||
// TunnelKitTests
|
// TunnelKitTests
|
||||||
//
|
//
|
||||||
// Created by Davide De Rosa on 7/7/18.
|
// Created by Davide De Rosa on 7/7/18.
|
||||||
// Copyright (c) 2020 Davide De Rosa. All rights reserved.
|
// Copyright (c) 2021 Davide De Rosa. All rights reserved.
|
||||||
//
|
//
|
||||||
// https://github.com/passepartoutvpn
|
// https://github.com/passepartoutvpn
|
||||||
//
|
//
|
|
@ -3,7 +3,7 @@
|
||||||
// TunnelKitTests
|
// TunnelKitTests
|
||||||
//
|
//
|
||||||
// Created by Davide De Rosa on 7/7/18.
|
// Created by Davide De Rosa on 7/7/18.
|
||||||
// Copyright (c) 2020 Davide De Rosa. All rights reserved.
|
// Copyright (c) 2021 Davide De Rosa. All rights reserved.
|
||||||
//
|
//
|
||||||
// https://github.com/passepartoutvpn
|
// https://github.com/passepartoutvpn
|
||||||
//
|
//
|
|
@ -3,7 +3,7 @@
|
||||||
// TunnelKitTests
|
// TunnelKitTests
|
||||||
//
|
//
|
||||||
// Created by Davide De Rosa on 7/7/18.
|
// Created by Davide De Rosa on 7/7/18.
|
||||||
// Copyright (c) 2020 Davide De Rosa. All rights reserved.
|
// Copyright (c) 2021 Davide De Rosa. All rights reserved.
|
||||||
//
|
//
|
||||||
// https://github.com/passepartoutvpn
|
// https://github.com/passepartoutvpn
|
||||||
//
|
//
|
|
@ -3,7 +3,7 @@
|
||||||
// TunnelKitTests
|
// TunnelKitTests
|
||||||
//
|
//
|
||||||
// Created by Davide De Rosa on 4/30/19.
|
// Created by Davide De Rosa on 4/30/19.
|
||||||
// Copyright (c) 2020 Davide De Rosa. All rights reserved.
|
// Copyright (c) 2021 Davide De Rosa. All rights reserved.
|
||||||
//
|
//
|
||||||
// https://github.com/passepartoutvpn
|
// https://github.com/passepartoutvpn
|
||||||
//
|
//
|
|
@ -3,7 +3,7 @@
|
||||||
// TunnelKitTests
|
// TunnelKitTests
|
||||||
//
|
//
|
||||||
// Created by Davide De Rosa on 7/7/18.
|
// Created by Davide De Rosa on 7/7/18.
|
||||||
// Copyright (c) 2020 Davide De Rosa. All rights reserved.
|
// Copyright (c) 2021 Davide De Rosa. All rights reserved.
|
||||||
//
|
//
|
||||||
// https://github.com/passepartoutvpn
|
// https://github.com/passepartoutvpn
|
||||||
//
|
//
|
|
@ -3,7 +3,7 @@
|
||||||
// TunnelKitTests
|
// TunnelKitTests
|
||||||
//
|
//
|
||||||
// Created by Davide De Rosa on 3/18/19.
|
// Created by Davide De Rosa on 3/18/19.
|
||||||
// Copyright (c) 2020 Davide De Rosa. All rights reserved.
|
// Copyright (c) 2021 Davide De Rosa. All rights reserved.
|
||||||
//
|
//
|
||||||
// https://github.com/passepartoutvpn
|
// https://github.com/passepartoutvpn
|
||||||
//
|
//
|
|
@ -3,7 +3,7 @@
|
||||||
// TunnelKitTests
|
// TunnelKitTests
|
||||||
//
|
//
|
||||||
// Created by Davide De Rosa on 10/23/17.
|
// Created by Davide De Rosa on 10/23/17.
|
||||||
// Copyright (c) 2020 Davide De Rosa. All rights reserved.
|
// Copyright (c) 2021 Davide De Rosa. All rights reserved.
|
||||||
//
|
//
|
||||||
// https://github.com/passepartoutvpn
|
// https://github.com/passepartoutvpn
|
||||||
//
|
//
|
|
@ -3,7 +3,7 @@
|
||||||
// TunnelKitTests
|
// TunnelKitTests
|
||||||
//
|
//
|
||||||
// Created by Davide De Rosa on 11/10/18.
|
// Created by Davide De Rosa on 11/10/18.
|
||||||
// Copyright (c) 2020 Davide De Rosa. All rights reserved.
|
// Copyright (c) 2021 Davide De Rosa. All rights reserved.
|
||||||
//
|
//
|
||||||
// https://github.com/passepartoutvpn
|
// https://github.com/passepartoutvpn
|
||||||
//
|
//
|
|
@ -3,7 +3,7 @@
|
||||||
// TunnelKitTests
|
// TunnelKitTests
|
||||||
//
|
//
|
||||||
// Created by Davide De Rosa on 9/10/18.
|
// Created by Davide De Rosa on 9/10/18.
|
||||||
// Copyright (c) 2020 Davide De Rosa. All rights reserved.
|
// Copyright (c) 2021 Davide De Rosa. All rights reserved.
|
||||||
//
|
//
|
||||||
// https://github.com/passepartoutvpn
|
// https://github.com/passepartoutvpn
|
||||||
//
|
//
|
|
@ -3,7 +3,7 @@
|
||||||
// TunnelKitTests
|
// TunnelKitTests
|
||||||
//
|
//
|
||||||
// Created by Davide De Rosa on 7/11/18.
|
// Created by Davide De Rosa on 7/11/18.
|
||||||
// Copyright (c) 2020 Davide De Rosa. All rights reserved.
|
// Copyright (c) 2021 Davide De Rosa. All rights reserved.
|
||||||
//
|
//
|
||||||
// https://github.com/passepartoutvpn
|
// https://github.com/passepartoutvpn
|
||||||
//
|
//
|
|
@ -3,7 +3,7 @@
|
||||||
// TunnelKitTests
|
// TunnelKitTests
|
||||||
//
|
//
|
||||||
// Created by Davide De Rosa on 7/7/18.
|
// Created by Davide De Rosa on 7/7/18.
|
||||||
// Copyright (c) 2020 Davide De Rosa. All rights reserved.
|
// Copyright (c) 2021 Davide De Rosa. All rights reserved.
|
||||||
//
|
//
|
||||||
// https://github.com/passepartoutvpn
|
// https://github.com/passepartoutvpn
|
||||||
//
|
//
|
|
@ -3,7 +3,7 @@
|
||||||
// TunnelKitTests
|
// TunnelKitTests
|
||||||
//
|
//
|
||||||
// Created by Davide De Rosa on 7/7/18.
|
// Created by Davide De Rosa on 7/7/18.
|
||||||
// Copyright (c) 2020 Davide De Rosa. All rights reserved.
|
// Copyright (c) 2021 Davide De Rosa. All rights reserved.
|
||||||
//
|
//
|
||||||
// https://github.com/passepartoutvpn
|
// https://github.com/passepartoutvpn
|
||||||
//
|
//
|
|
@ -3,7 +3,7 @@
|
||||||
// TunnelKitTests
|
// TunnelKitTests
|
||||||
//
|
//
|
||||||
// Created by Davide De Rosa on 7/7/18.
|
// Created by Davide De Rosa on 7/7/18.
|
||||||
// Copyright (c) 2020 Davide De Rosa. All rights reserved.
|
// Copyright (c) 2021 Davide De Rosa. All rights reserved.
|
||||||
//
|
//
|
||||||
// https://github.com/passepartoutvpn
|
// https://github.com/passepartoutvpn
|
||||||
//
|
//
|
|
@ -3,7 +3,7 @@
|
||||||
// TunnelKitTests
|
// TunnelKitTests
|
||||||
//
|
//
|
||||||
// Created by Davide De Rosa on 7/7/18.
|
// Created by Davide De Rosa on 7/7/18.
|
||||||
// Copyright (c) 2020 Davide De Rosa. All rights reserved.
|
// Copyright (c) 2021 Davide De Rosa. All rights reserved.
|
||||||
//
|
//
|
||||||
// https://github.com/passepartoutvpn
|
// https://github.com/passepartoutvpn
|
||||||
//
|
//
|
|
@ -3,7 +3,7 @@
|
||||||
// TunnelKitTests
|
// TunnelKitTests
|
||||||
//
|
//
|
||||||
// Created by Davide De Rosa on 9/9/18.
|
// Created by Davide De Rosa on 9/9/18.
|
||||||
// Copyright (c) 2020 Davide De Rosa. All rights reserved.
|
// Copyright (c) 2021 Davide De Rosa. All rights reserved.
|
||||||
//
|
//
|
||||||
// https://github.com/passepartoutvpn
|
// https://github.com/passepartoutvpn
|
||||||
//
|
//
|
|
@ -3,7 +3,7 @@
|
||||||
// TunnelKitTests
|
// TunnelKitTests
|
||||||
//
|
//
|
||||||
// Created by Davide De Rosa on 8/24/18.
|
// Created by Davide De Rosa on 8/24/18.
|
||||||
// Copyright (c) 2020 Davide De Rosa. All rights reserved.
|
// Copyright (c) 2021 Davide De Rosa. All rights reserved.
|
||||||
//
|
//
|
||||||
// https://github.com/passepartoutvpn
|
// https://github.com/passepartoutvpn
|
||||||
//
|
//
|
|
@ -3,7 +3,7 @@
|
||||||
// TunnelKitTests
|
// TunnelKitTests
|
||||||
//
|
//
|
||||||
// Created by Davide De Rosa on 9/11/18.
|
// Created by Davide De Rosa on 9/11/18.
|
||||||
// Copyright (c) 2020 Davide De Rosa. All rights reserved.
|
// Copyright (c) 2021 Davide De Rosa. All rights reserved.
|
||||||
//
|
//
|
||||||
// https://github.com/passepartoutvpn
|
// https://github.com/passepartoutvpn
|
||||||
//
|
//
|
|
@ -3,7 +3,7 @@
|
||||||
// TunnelKitTests
|
// TunnelKitTests
|
||||||
//
|
//
|
||||||
// Created by Davide De Rosa on 7/7/18.
|
// Created by Davide De Rosa on 7/7/18.
|
||||||
// Copyright (c) 2020 Davide De Rosa. All rights reserved.
|
// Copyright (c) 2021 Davide De Rosa. All rights reserved.
|
||||||
//
|
//
|
||||||
// https://github.com/passepartoutvpn
|
// https://github.com/passepartoutvpn
|
||||||
//
|
//
|
|
@ -1,22 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>CFBundleDevelopmentRegion</key>
|
|
||||||
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
|
||||||
<key>CFBundleExecutable</key>
|
|
||||||
<string>$(EXECUTABLE_NAME)</string>
|
|
||||||
<key>CFBundleIdentifier</key>
|
|
||||||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
|
||||||
<key>CFBundleInfoDictionaryVersion</key>
|
|
||||||
<string>6.0</string>
|
|
||||||
<key>CFBundleName</key>
|
|
||||||
<string>$(PRODUCT_NAME)</string>
|
|
||||||
<key>CFBundlePackageType</key>
|
|
||||||
<string>BNDL</string>
|
|
||||||
<key>CFBundleShortVersionString</key>
|
|
||||||
<string>3.2.0</string>
|
|
||||||
<key>CFBundleVersion</key>
|
|
||||||
<string>1</string>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
Loading…
Reference in New Issue