Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit f662cb5

Browse files
authored
Merge pull request #17 from dchakarov/add-SPM-support
Add SPM support
2 parents 4cc459c + d3c9963 commit f662cb5

5 files changed

+40
-10
lines changed

AutomationTools-Core.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'AutomationTools-Core'
3-
s.version = '5.0.0'
3+
s.version = '5.0.1'
44
s.summary = 'iOS UI test framework and guidelines'
55
s.homepage = 'https://github.com/justeat/AutomationTools'
66
s.license = { :type => 'Apache 2.0', :file => 'LICENSE' }

AutomationTools-Host.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'AutomationTools-Host'
3-
s.version = '5.0.0'
3+
s.version = '5.0.1'
44
s.summary = 'iOS UI test framework and guidelines'
55
s.homepage = 'https://github.com/justeat/AutomationTools'
66
s.license = { :type => 'Apache 2.0', :file => 'LICENSE' }

Example/Podfile.lock

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
PODS:
2-
- AutomationTools-Core (5.0.0):
3-
- AutomationTools-Core/Core (= 5.0.0)
4-
- AutomationTools-Core/Core (5.0.0)
5-
- AutomationTools-Host (5.0.0):
6-
- AutomationTools-Host/Host (= 5.0.0)
7-
- AutomationTools-Host/Host (5.0.0)
2+
- AutomationTools-Core (5.0.1):
3+
- AutomationTools-Core/Core (= 5.0.1)
4+
- AutomationTools-Core/Core (5.0.1)
5+
- AutomationTools-Host (5.0.1):
6+
- AutomationTools-Host/Host (= 5.0.1)
7+
- AutomationTools-Host/Host (5.0.1)
88

99
DEPENDENCIES:
1010
- AutomationTools-Core (from `../`)
@@ -17,8 +17,8 @@ EXTERNAL SOURCES:
1717
:path: "../"
1818

1919
SPEC CHECKSUMS:
20-
AutomationTools-Core: b446ffd06cd15b74235a3b08bc8bfd79a68e8726
21-
AutomationTools-Host: ac9b0cd8d7d6769d91e9c152c2a610583553df40
20+
AutomationTools-Core: cf1574723a1010475155aa4c89d8b791d207ec12
21+
AutomationTools-Host: 2c2694586a841dc6770663a8e34bbd23cc26627b
2222

2323
PODFILE CHECKSUM: f7cb8316364a71f3c6e4a15850df0c9fd673c5bf
2424

Package.swift

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// swift-tools-version:5.1
2+
3+
import PackageDescription
4+
5+
let package = Package(
6+
name: "AutomationTools",
7+
platforms: [
8+
.iOS(.v12)
9+
],
10+
products: [
11+
.library(
12+
name: "AutomationTools-Core",
13+
targets: ["AutomationTools-Core"]),
14+
.library(
15+
name: "AutomationTools-Host",
16+
targets: ["AutomationTools-Host"])
17+
],
18+
targets: [
19+
.target(
20+
name: "AutomationTools-Core",
21+
path: "AutomationTools/Classes/Core/"
22+
),
23+
.target(
24+
name: "AutomationTools-Host",
25+
path: "AutomationTools/Classes/HostApp/"
26+
)
27+
]
28+
)

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -166,4 +166,6 @@ pod 'AutomationTools-Core', '5.0.0'
166166
end
167167
```
168168

169+
Or use SPM to add the framework - make sure you add the Core one to your UI tests target and the Host one to your main target.
170+
169171
- Just Eat iOS team

0 commit comments

Comments
 (0)