You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+54Lines changed: 54 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,6 +106,8 @@ jobs:
106
106
107
107
## Complete Examples
108
108
109
+
### Build and Test a Swift Package for iOS
110
+
109
111
Prepare an iOS device simulator (defaults to iPhone) using the latest device and operating system version in order to test a Swift Package. Beforehand, refresh simulators and download an appropriate simulator if one is not yet installed.
### Build and Test a Swift Package for Multiple Platforms
158
+
159
+
Set up a matrix of jobs for iOS, tvOS, watchOS and visionOS to prepare a device simulator using the latest device and operating system version in order to test a Swift Package. Beforehand, refresh simulators and download an appropriate simulator if one is not yet installed.
160
+
161
+
> [!TIP]
162
+
>
163
+
> Separating the build and test phases into separate steps is recommended for organization and clarity.
164
+
>
165
+
> Building (unlike testing) typically does not require a simulator destination and a generic destination can be supplied.
0 commit comments