Commit 00d9afa
authored
Fix the Samples project so that it compiles and runs. (#1205)
### Motivation: Currently, the sample project doesn't compile because `swift-cluster-membership` requires macos 14.0. ```console error: the executable 'SampleDiningPhilosophers' requires macos 13.0, but depends on the product 'DistributedCluster' which requires macos 14.0; consider changing the executable 'SampleDiningPhilosophers' to require macos 14.0 or later, or the product 'DistributedCluster' to require macos 13.0 or earlier. ``` ### Modifications: Update the `Package.swift` file in `/Samples` to require macos 14 and bump to Swift 5.9 to support running in distributed mode. Updated README to include `swift` in the run commands. ### Result: `Samples` project now compiles and runs.1 parent c2169dc commit 00d9afa
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
0 commit comments