From 81b6e2203769a6535b71c2fbcad724fb012d98f6 Mon Sep 17 00:00:00 2001 From: Tomas Camin Date: Thu, 29 Dec 2022 12:25:57 +0100 Subject: [PATCH] Use XcodeGen --- Example/Podfile | 6 +++--- Example/Podfile.lock | 8 ++++---- Example/project.yml | 28 ++++++++++++++++++++++++++++ SBTUITunnelHostServer/Podfile | 4 +++- SBTUITunnelHostServer/Podfile.lock | 8 ++++++-- SBTUITunnelHostServer/project.yml | 14 ++++++++++++++ 6 files changed, 58 insertions(+), 10 deletions(-) create mode 100644 Example/project.yml create mode 100644 SBTUITunnelHostServer/project.yml diff --git a/Example/Podfile b/Example/Podfile index 1b97c98..0788f06 100644 --- a/Example/Podfile +++ b/Example/Podfile @@ -1,9 +1,9 @@ use_frameworks! -platform :ios, '12.0' +platform :ios, '15.0' -target 'SBTUITestTunnelHost_Example' do +target 'Example' do end -target 'SBTUITestTunnelHost_ExampleUITests' do +target 'UITests' do pod 'SBTUITestTunnelHost', :path => '../' end diff --git a/Example/Podfile.lock b/Example/Podfile.lock index 4e3db1a..a25bdf6 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -1,5 +1,5 @@ PODS: - - SBTUITestTunnelHost (0.5.0) + - SBTUITestTunnelHost (2.0.0) DEPENDENCIES: - SBTUITestTunnelHost (from `../`) @@ -9,8 +9,8 @@ EXTERNAL SOURCES: :path: "../" SPEC CHECKSUMS: - SBTUITestTunnelHost: 683cef8fbf9a12d0bb3e13f78b6d8b0aa7708c97 + SBTUITestTunnelHost: 61b22376c8f6232440ac6cde330a4fc8746e092e -PODFILE CHECKSUM: 7e208d3af5cd5448e350a53a2a05e3ccdd74b16b +PODFILE CHECKSUM: 814a29fa0fd16a3c0594d87c72a44da4dc5af1db -COCOAPODS: 1.11.2 +COCOAPODS: 1.11.3 diff --git a/Example/project.yml b/Example/project.yml new file mode 100644 index 0000000..ab0a41a --- /dev/null +++ b/Example/project.yml @@ -0,0 +1,28 @@ +name: SBTUITestTunnelHost +options: + bundleIdPrefix: com.subito + postGenCommand: "pod install; xed ." +targets: + Example: + type: application + platform: iOS + deploymentTarget: 15.0 + settings: + base: + INFOPLIST_FILE: "Sources/SBTUITestTunnelHost-Info.plist" + sources: + - path: Sources + scheme: + gatherCoverageData: true + testTargets: + - UITests + UITests: + type: bundle.ui-testing + platform: iOS + settings: + base: + INFOPLIST_FILE: "UITests/Info.plist" + sources: + - UITests + dependencies: + - target: Example \ No newline at end of file diff --git a/SBTUITunnelHostServer/Podfile b/SBTUITunnelHostServer/Podfile index dc07097..87c72cb 100644 --- a/SBTUITunnelHostServer/Podfile +++ b/SBTUITunnelHostServer/Podfile @@ -1,5 +1,7 @@ use_frameworks! -target 'SBTUITunnelHostServer' do +platform :macos, 11.0 + +target 'SBTUITestTunnelServer' do pod 'GCDWebServer' end diff --git a/SBTUITunnelHostServer/Podfile.lock b/SBTUITunnelHostServer/Podfile.lock index 310a338..0e6ffb5 100644 --- a/SBTUITunnelHostServer/Podfile.lock +++ b/SBTUITunnelHostServer/Podfile.lock @@ -6,9 +6,13 @@ PODS: DEPENDENCIES: - GCDWebServer +SPEC REPOS: + trunk: + - GCDWebServer + SPEC CHECKSUMS: GCDWebServer: 2a375ec42839a41d7187d04e5b688d32fa5c4cd5 -PODFILE CHECKSUM: 2af66f6b48b1d0f1fe309ffb028aeb79aa347aff +PODFILE CHECKSUM: 1698c64118fbd33edae11f15d05fd2bebefe56b2 -COCOAPODS: 1.0.0 +COCOAPODS: 1.11.3 diff --git a/SBTUITunnelHostServer/project.yml b/SBTUITunnelHostServer/project.yml new file mode 100644 index 0000000..dd3c868 --- /dev/null +++ b/SBTUITunnelHostServer/project.yml @@ -0,0 +1,14 @@ +name: SBTUITestTunnelServer +options: + bundleIdPrefix: com.subito + postGenCommand: "pod install" +targets: + SBTUITestTunnelServer: + type: application + platform: macOS + deploymentTarget: 11.0 + settings: + base: + INFOPLIST_FILE: "Sources/Info.plist" + sources: + - path: Sources