@@ -19,16 +19,26 @@ We strongly encourage you to contribute to our repository. Find out more in our
19
19
## Usage
20
20
21
21
### From Project to Output
22
- This method requires an iOS 17.5 Simulator to be installed
23
22
24
- ```
23
+ ``` bash
24
+ # Build using the iOS sdk
25
+ # This method requires an iOS Simulator to be installed
25
26
swift run public-api-diff
26
27
project
27
28
--platform iOS
28
29
--new " develop~https://github.com/Adyen/adyen-ios.git"
29
30
--old " 5.12.0~https://github.com/Adyen/adyen-ios.git"
30
31
```
31
32
33
+ ``` bash
34
+ # Build using the macOS sdk
35
+ swift run public-api-diff
36
+ project
37
+ --platform macOS
38
+ --new " main~https://github.com/Adyen/adyen-swift-public-api-diff"
39
+ --old " 0.4.0~https://github.com/Adyen/adyen-swift-public-api-diff"
40
+ ```
41
+
32
42
<details ><summary ><b >--help:</b ></summary >
33
43
34
44
```
@@ -54,7 +64,7 @@ OPTIONS:
54
64
55
65
### From ` .swiftinterface ` to Output
56
66
57
- ```
67
+ ``` bash
58
68
swift run public-api-diff
59
69
swift-interface
60
70
--new " new/path/to/project.swiftinterface"
@@ -89,7 +99,7 @@ OPTIONS:
89
99
90
100
### From ` .framework ` to Output
91
101
92
- ```
102
+ ``` bash
93
103
swift run public-api-diff
94
104
framework
95
105
--target-name " TargetName"
@@ -127,22 +137,24 @@ OPTIONS:
127
137
128
138
## Release Build
129
139
### Create
130
- ```
140
+ ``` bash
131
141
swift build --configuration release
132
142
```
133
143
134
144
### Run
135
- ```
145
+ ``` bash
136
146
./public-api-diff
137
147
project
138
148
--new " develop~https://github.com/Adyen/adyen-ios.git"
139
149
--old " 5.12.0~https://github.com/Adyen/adyen-ios.git"
140
-
150
+ ```
151
+ ``` bash
141
152
./public-api-diff
142
153
swift-interface
143
154
--new " new/path/to/project.swiftinterface"
144
155
--old " old/path/to/project.swiftinterface"
145
-
156
+ ```
157
+ ``` bash
146
158
./public-api-diff
147
159
framework
148
160
--target-name " TargetName"
0 commit comments