Skip to content

Does not compile on macOS 15 + Swift 6.1 #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sebsto opened this issue Apr 20, 2025 · 7 comments
Closed

Does not compile on macOS 15 + Swift 6.1 #14

sebsto opened this issue Apr 20, 2025 · 7 comments
Labels
bug Something isn't working

Comments

@sebsto
Copy link

sebsto commented Apr 20, 2025

Describe the bug
git clone && swift build fails on macOS 15.4 + Swift 6.1

To Reproduce
Steps to reproduce the behavior:

  1. git clone https://github.com/swiftlang/swift-subprocess
  2. cd swift-subprocess
  3. swift build

Expected behavior
Should compile out of the box

Environment (please complete the following information):

» sw_vers  
ProductName:		macOS
ProductVersion:		15.4.1
BuildVersion:		24E263

» uname -a 
Darwin bcd07458a91c 24.4.0 Darwin Kernel Version 24.4.0: Fri Apr 11 18:33:47 PDT 2025; root:xnu-11417.101.15~117/RELEASE_ARM64_T6000 arm64
  • Swift version (run swift --version) [e.g. swiftlang-6.2.0.1.23 clang-1700.3.1.3]
» swift --version 
Apple Swift version 6.1 (swift-6.1-RELEASE)
Target: arm64-apple-macosx15.0

Additional context

  » git clone https://github.com/swiftlang/swift-subprocess
Cloning into 'swift-subprocess'...
remote: Enumerating objects: 127, done.
remote: Counting objects: 100% (127/127), done.
remote: Compressing objects: 100% (89/89), done.
remote: Total 127 (delta 45), reused 105 (delta 34), pack-reused 0 (from 0)
Receiving objects: 100% (127/127), 573.34 KiB | 5.91 MiB/s, done.
Resolving deltas: 100% (45/45), done.
bcd07458a91c :: code/swift/bedrock » swift --version 
Apple Swift version 6.1 (swift-6.1-RELEASE)
Target: arm64-apple-macosx15.0

» cd swift-subprocess/                                                                                                   

» swift build         
Fetching https://github.com/apple/swift-system from cache
Fetching https://github.com/apple/swift-docc-plugin from cache
Fetched https://github.com/apple/swift-docc-plugin from cache (0.81s)
Fetched https://github.com/apple/swift-system from cache (1.05s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (2.34s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.85s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.08s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.4.2 (0.68s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.4.2
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
/Users/stormacq/Documents/amazon/code/swift/bedrock/swift-subprocess/Sources/Subprocess/Execution.swift:49:42: error: 'Atomic' is only available in macOS 15.0 or newer
 36 | @available(SubprocessSpan, *)
 37 | #endif
 38 | public final class Execution<
    |                    `- note: add @available attribute to enclosing generic class
 39 |     Output: OutputProtocol,
 40 |     Error: OutputProtocol
    :
 47 |     internal let outputPipe: CreatedPipe
 48 |     internal let errorPipe: CreatedPipe
 49 |     internal let outputConsumptionState: Atomic<OutputConsumptionState.RawValue>
    |                                          `- error: 'Atomic' is only available in macOS 15.0 or newer
 50 |     #if os(Windows)
 51 |     internal let consoleBehavior: PlatformOptions.ConsoleBehavior

/Users/stormacq/Documents/amazon/code/swift/bedrock/swift-subprocess/Sources/Subprocess/Execution.swift:96:74: error: 'Failure' is only available in macOS 15.0 or newer
 88 | @available(SubprocessSpan, *)
 89 | #endif
 90 | extension Execution where Output == SequenceOutput {
    | `- note: add @available attribute to enclosing extension
 91 |     /// The standard output of the subprocess.
 92 |     ///
    :
 94 |     /// accessed multiple times. Subprocess communicates with parent process
 95 |     /// via pipe under the hood and each pipe can only be consumed once.
 96 |     public var standardOutput: some AsyncSequence<SequenceOutput.Buffer, any Swift.Error> {
    |                |                                                         `- error: 'Failure' is only available in macOS 15.0 or newer
    |                `- note: add @available attribute to enclosing property
 97 |         let consumptionState = self.outputConsumptionState.bitwiseXor(
 98 |             OutputConsumptionState.standardOutputConsumed.rawValue,

/Users/stormacq/Documents/amazon/code/swift/bedrock/swift-subprocess/Sources/Subprocess/Execution.swift:120:73: error: 'Failure' is only available in macOS 15.0 or newer
112 | @available(SubprocessSpan, *)
113 | #endif
114 | extension Execution where Error == SequenceOutput {
    | `- note: add @available attribute to enclosing extension
115 |     /// The standard error of the subprocess.
116 |     ///
    :
118 |     /// accessed multiple times. Subprocess communicates with parent process
119 |     /// via pipe under the hood and each pipe can only be consumed once.
120 |     public var standardError: some AsyncSequence<SequenceOutput.Buffer, any Swift.Error> {
    |                |                                                        `- error: 'Failure' is only available in macOS 15.0 or newer
    |                `- note: add @available attribute to enclosing property
121 |         let consumptionState = self.outputConsumptionState.bitwiseXor(
122 |             OutputConsumptionState.standardErrorConsumed.rawValue,
/Users/stormacq/Documents/amazon/code/swift/bedrock/swift-subprocess/Sources/Subprocess/Execution.swift:49:42: error: 'Atomic' is only available in macOS 15.0 or newer
 36 | @available(SubprocessSpan, *)
 37 | #endif
 38 | public final class Execution<
    |                    `- note: add @available attribute to enclosing generic class
 39 |     Output: OutputProtocol,
 40 |     Error: OutputProtocol
    :
 47 |     internal let outputPipe: CreatedPipe
 48 |     internal let errorPipe: CreatedPipe
 49 |     internal let outputConsumptionState: Atomic<OutputConsumptionState.RawValue>
    |                                          `- error: 'Atomic' is only available in macOS 15.0 or newer
 50 |     #if os(Windows)
 51 |     internal let consoleBehavior: PlatformOptions.ConsoleBehavior

/Users/stormacq/Documents/amazon/code/swift/bedrock/swift-subprocess/Sources/Subprocess/Execution.swift:96:74: error: 'Failure' is only available in macOS 15.0 or newer
 88 | @available(SubprocessSpan, *)
 89 | #endif
 90 | extension Execution where Output == SequenceOutput {
    | `- note: add @available attribute to enclosing extension
 91 |     /// The standard output of the subprocess.
 92 |     ///
    :
 94 |     /// accessed multiple times. Subprocess communicates with parent process
 95 |     /// via pipe under the hood and each pipe can only be consumed once.
 96 |     public var standardOutput: some AsyncSequence<SequenceOutput.Buffer, any Swift.Error> {
    |                |                                                         `- error: 'Failure' is only available in macOS 15.0 or newer
    |                `- note: add @available attribute to enclosing property
 97 |         let consumptionState = self.outputConsumptionState.bitwiseXor(
 98 |             OutputConsumptionState.standardOutputConsumed.rawValue,

/Users/stormacq/Documents/amazon/code/swift/bedrock/swift-subprocess/Sources/Subprocess/Execution.swift:120:73: error: 'Failure' is only available in macOS 15.0 or newer
112 | @available(SubprocessSpan, *)
113 | #endif
114 | extension Execution where Error == SequenceOutput {
    | `- note: add @available attribute to enclosing extension
115 |     /// The standard error of the subprocess.
116 |     ///
    :
118 |     /// accessed multiple times. Subprocess communicates with parent process
119 |     /// via pipe under the hood and each pipe can only be consumed once.
120 |     public var standardError: some AsyncSequence<SequenceOutput.Buffer, any Swift.Error> {
    |                |                                                        `- error: 'Failure' is only available in macOS 15.0 or newer
    |                `- note: add @available attribute to enclosing property
121 |         let consumptionState = self.outputConsumptionState.bitwiseXor(
122 |             OutputConsumptionState.standardErrorConsumed.rawValue,

/Users/stormacq/Documents/amazon/code/swift/bedrock/swift-subprocess/Sources/Subprocess/Execution.swift:82:39: error: 'Atomic' is only available in macOS 15.0 or newer
 36 | @available(SubprocessSpan, *)
 37 | #endif
 38 | public final class Execution<
    |                    `- note: add @available attribute to enclosing generic class
 39 |     Output: OutputProtocol,
 40 |     Error: OutputProtocol
    :
 68 |     }
 69 |     #else
 70 |     init(
    |     `- note: add @available attribute to enclosing initializer
 71 |         processIdentifier: ProcessIdentifier,
 72 |         output: Output,
    :
 80 |         self.outputPipe = outputPipe
 81 |         self.errorPipe = errorPipe
 82 |         self.outputConsumptionState = Atomic(0)
    |                                       |- error: 'Atomic' is only available in macOS 15.0 or newer
    |                                       `- note: add 'if #available' version check
 83 |     }
 84 |     #endif  // os(Windows)

/Users/stormacq/Documents/amazon/code/swift/bedrock/swift-subprocess/Sources/Subprocess/Execution.swift:82:39: error: 'init(_:)' is only available in macOS 15.0 or newer
 36 | @available(SubprocessSpan, *)
 37 | #endif
 38 | public final class Execution<
    |                    `- note: add @available attribute to enclosing generic class
 39 |     Output: OutputProtocol,
 40 |     Error: OutputProtocol
    :
 68 |     }
 69 |     #else
 70 |     init(
    |     `- note: add @available attribute to enclosing initializer
 71 |         processIdentifier: ProcessIdentifier,
 72 |         output: Output,
    :
 80 |         self.outputPipe = outputPipe
 81 |         self.errorPipe = errorPipe
 82 |         self.outputConsumptionState = Atomic(0)
    |                                       |- error: 'init(_:)' is only available in macOS 15.0 or newer
    |                                       `- note: add 'if #available' version check
 83 |     }
 84 |     #endif  // os(Windows)

/Users/stormacq/Documents/amazon/code/swift/bedrock/swift-subprocess/Sources/Subprocess/Execution.swift:97:60: error: 'bitwiseXor(_:ordering:)' is only available in macOS 15.0 or newer
 88 | @available(SubprocessSpan, *)
 89 | #endif
 90 | extension Execution where Output == SequenceOutput {
    | `- note: add @available attribute to enclosing extension
 91 |     /// The standard output of the subprocess.
 92 |     ///
    :
 94 |     /// accessed multiple times. Subprocess communicates with parent process
 95 |     /// via pipe under the hood and each pipe can only be consumed once.
 96 |     public var standardOutput: some AsyncSequence<SequenceOutput.Buffer, any Swift.Error> {
    |                `- note: add @available attribute to enclosing property
 97 |         let consumptionState = self.outputConsumptionState.bitwiseXor(
    |                                                            |- error: 'bitwiseXor(_:ordering:)' is only available in macOS 15.0 or newer
    |                                                            `- note: add 'if #available' version check
 98 |             OutputConsumptionState.standardOutputConsumed.rawValue,
 99 |             ordering: .relaxed

/Users/stormacq/Documents/amazon/code/swift/bedrock/swift-subprocess/Sources/Subprocess/Execution.swift:99:24: error: 'relaxed' is only available in macOS 15.0 or newer
 88 | @available(SubprocessSpan, *)
 89 | #endif
 90 | extension Execution where Output == SequenceOutput {
    | `- note: add @available attribute to enclosing extension
 91 |     /// The standard output of the subprocess.
 92 |     ///
    :
 94 |     /// accessed multiple times. Subprocess communicates with parent process
 95 |     /// via pipe under the hood and each pipe can only be consumed once.
 96 |     public var standardOutput: some AsyncSequence<SequenceOutput.Buffer, any Swift.Error> {
    |                `- note: add @available attribute to enclosing property
 97 |         let consumptionState = self.outputConsumptionState.bitwiseXor(
 98 |             OutputConsumptionState.standardOutputConsumed.rawValue,
 99 |             ordering: .relaxed
    |                        |- error: 'relaxed' is only available in macOS 15.0 or newer
    |                        `- note: add 'if #available' version check
100 |         ).newValue
101 | 

/Users/stormacq/Documents/amazon/code/swift/bedrock/swift-subprocess/Sources/Subprocess/Execution.swift:121:60: error: 'bitwiseXor(_:ordering:)' is only available in macOS 15.0 or newer
112 | @available(SubprocessSpan, *)
113 | #endif
114 | extension Execution where Error == SequenceOutput {
    | `- note: add @available attribute to enclosing extension
115 |     /// The standard error of the subprocess.
116 |     ///
    :
118 |     /// accessed multiple times. Subprocess communicates with parent process
119 |     /// via pipe under the hood and each pipe can only be consumed once.
120 |     public var standardError: some AsyncSequence<SequenceOutput.Buffer, any Swift.Error> {
    |                `- note: add @available attribute to enclosing property
121 |         let consumptionState = self.outputConsumptionState.bitwiseXor(
    |                                                            |- error: 'bitwiseXor(_:ordering:)' is only available in macOS 15.0 or newer
    |                                                            `- note: add 'if #available' version check
122 |             OutputConsumptionState.standardErrorConsumed.rawValue,
123 |             ordering: .relaxed

/Users/stormacq/Documents/amazon/code/swift/bedrock/swift-subprocess/Sources/Subprocess/Execution.swift:123:24: error: 'relaxed' is only available in macOS 15.0 or newer
112 | @available(SubprocessSpan, *)
113 | #endif
114 | extension Execution where Error == SequenceOutput {
    | `- note: add @available attribute to enclosing extension
115 |     /// The standard error of the subprocess.
116 |     ///
    :
118 |     /// accessed multiple times. Subprocess communicates with parent process
119 |     /// via pipe under the hood and each pipe can only be consumed once.
120 |     public var standardError: some AsyncSequence<SequenceOutput.Buffer, any Swift.Error> {
    |                `- note: add @available attribute to enclosing property
121 |         let consumptionState = self.outputConsumptionState.bitwiseXor(
122 |             OutputConsumptionState.standardErrorConsumed.rawValue,
123 |             ordering: .relaxed
    |                        |- error: 'relaxed' is only available in macOS 15.0 or newer
    |                        `- note: add 'if #available' version check
124 |         ).newValue
125 | 
/Users/stormacq/Documents/amazon/code/swift/bedrock/swift-subprocess/Sources/Subprocess/Execution.swift:49:42: error: 'Atomic' is only available in macOS 15.0 or newer
 36 | @available(SubprocessSpan, *)
 37 | #endif
 38 | public final class Execution<
    |                    `- note: add @available attribute to enclosing generic class
 39 |     Output: OutputProtocol,
 40 |     Error: OutputProtocol
    :
 47 |     internal let outputPipe: CreatedPipe
 48 |     internal let errorPipe: CreatedPipe
 49 |     internal let outputConsumptionState: Atomic<OutputConsumptionState.RawValue>
    |                                          `- error: 'Atomic' is only available in macOS 15.0 or newer
 50 |     #if os(Windows)
 51 |     internal let consoleBehavior: PlatformOptions.ConsoleBehavior

/Users/stormacq/Documents/amazon/code/swift/bedrock/swift-subprocess/Sources/Subprocess/Execution.swift:96:74: error: 'Failure' is only available in macOS 15.0 or newer
 88 | @available(SubprocessSpan, *)
 89 | #endif
 90 | extension Execution where Output == SequenceOutput {
    | `- note: add @available attribute to enclosing extension
 91 |     /// The standard output of the subprocess.
 92 |     ///
    :
 94 |     /// accessed multiple times. Subprocess communicates with parent process
 95 |     /// via pipe under the hood and each pipe can only be consumed once.
 96 |     public var standardOutput: some AsyncSequence<SequenceOutput.Buffer, any Swift.Error> {
    |                |                                                         `- error: 'Failure' is only available in macOS 15.0 or newer
    |                `- note: add @available attribute to enclosing property
 97 |         let consumptionState = self.outputConsumptionState.bitwiseXor(
 98 |             OutputConsumptionState.standardOutputConsumed.rawValue,

/Users/stormacq/Documents/amazon/code/swift/bedrock/swift-subprocess/Sources/Subprocess/Execution.swift:120:73: error: 'Failure' is only available in macOS 15.0 or newer
112 | @available(SubprocessSpan, *)
113 | #endif
114 | extension Execution where Error == SequenceOutput {
    | `- note: add @available attribute to enclosing extension
115 |     /// The standard error of the subprocess.
116 |     ///
    :
118 |     /// accessed multiple times. Subprocess communicates with parent process
119 |     /// via pipe under the hood and each pipe can only be consumed once.
120 |     public var standardError: some AsyncSequence<SequenceOutput.Buffer, any Swift.Error> {
    |                |                                                        `- error: 'Failure' is only available in macOS 15.0 or newer
    |                `- note: add @available attribute to enclosing property
121 |         let consumptionState = self.outputConsumptionState.bitwiseXor(
122 |             OutputConsumptionState.standardErrorConsumed.rawValue,

/Users/stormacq/Documents/amazon/code/swift/bedrock/swift-subprocess/Sources/Subprocess/Execution.swift:82:39: error: 'Atomic' is only available in macOS 15.0 or newer
 36 | @available(SubprocessSpan, *)
 37 | #endif
 38 | public final class Execution<
    |                    `- note: add @available attribute to enclosing generic class
 39 |     Output: OutputProtocol,
 40 |     Error: OutputProtocol
    :
 68 |     }
 69 |     #else
 70 |     init(
    |     `- note: add @available attribute to enclosing initializer
 71 |         processIdentifier: ProcessIdentifier,
 72 |         output: Output,
    :
 80 |         self.outputPipe = outputPipe
 81 |         self.errorPipe = errorPipe
 82 |         self.outputConsumptionState = Atomic(0)
    |                                       |- error: 'Atomic' is only available in macOS 15.0 or newer
    |                                       `- note: add 'if #available' version check
 83 |     }
 84 |     #endif  // os(Windows)

/Users/stormacq/Documents/amazon/code/swift/bedrock/swift-subprocess/Sources/Subprocess/Execution.swift:82:39: error: 'init(_:)' is only available in macOS 15.0 or newer
 36 | @available(SubprocessSpan, *)
 37 | #endif
 38 | public final class Execution<
    |                    `- note: add @available attribute to enclosing generic class
 39 |     Output: OutputProtocol,
 40 |     Error: OutputProtocol
    :
 68 |     }
 69 |     #else
 70 |     init(
    |     `- note: add @available attribute to enclosing initializer
 71 |         processIdentifier: ProcessIdentifier,
 72 |         output: Output,
    :
 80 |         self.outputPipe = outputPipe
 81 |         self.errorPipe = errorPipe
 82 |         self.outputConsumptionState = Atomic(0)
    |                                       |- error: 'init(_:)' is only available in macOS 15.0 or newer
    |                                       `- note: add 'if #available' version check
 83 |     }
 84 |     #endif  // os(Windows)

/Users/stormacq/Documents/amazon/code/swift/bedrock/swift-subprocess/Sources/Subprocess/Execution.swift:97:60: error: 'bitwiseXor(_:ordering:)' is only available in macOS 15.0 or newer
 88 | @available(SubprocessSpan, *)
 89 | #endif
 90 | extension Execution where Output == SequenceOutput {
    | `- note: add @available attribute to enclosing extension
 91 |     /// The standard output of the subprocess.
 92 |     ///
    :
 94 |     /// accessed multiple times. Subprocess communicates with parent process
 95 |     /// via pipe under the hood and each pipe can only be consumed once.
 96 |     public var standardOutput: some AsyncSequence<SequenceOutput.Buffer, any Swift.Error> {
    |                `- note: add @available attribute to enclosing property
 97 |         let consumptionState = self.outputConsumptionState.bitwiseXor(
    |                                                            |- error: 'bitwiseXor(_:ordering:)' is only available in macOS 15.0 or newer
    |                                                            `- note: add 'if #available' version check
 98 |             OutputConsumptionState.standardOutputConsumed.rawValue,
 99 |             ordering: .relaxed

/Users/stormacq/Documents/amazon/code/swift/bedrock/swift-subprocess/Sources/Subprocess/Execution.swift:99:24: error: 'relaxed' is only available in macOS 15.0 or newer
 88 | @available(SubprocessSpan, *)
 89 | #endif
 90 | extension Execution where Output == SequenceOutput {
    | `- note: add @available attribute to enclosing extension
 91 |     /// The standard output of the subprocess.
 92 |     ///
    :
 94 |     /// accessed multiple times. Subprocess communicates with parent process
 95 |     /// via pipe under the hood and each pipe can only be consumed once.
 96 |     public var standardOutput: some AsyncSequence<SequenceOutput.Buffer, any Swift.Error> {
    |                `- note: add @available attribute to enclosing property
 97 |         let consumptionState = self.outputConsumptionState.bitwiseXor(
 98 |             OutputConsumptionState.standardOutputConsumed.rawValue,
 99 |             ordering: .relaxed
    |                        |- error: 'relaxed' is only available in macOS 15.0 or newer
    |                        `- note: add 'if #available' version check
100 |         ).newValue
101 | 

/Users/stormacq/Documents/amazon/code/swift/bedrock/swift-subprocess/Sources/Subprocess/Execution.swift:121:60: error: 'bitwiseXor(_:ordering:)' is only available in macOS 15.0 or newer
112 | @available(SubprocessSpan, *)
113 | #endif
114 | extension Execution where Error == SequenceOutput {
    | `- note: add @available attribute to enclosing extension
115 |     /// The standard error of the subprocess.
116 |     ///
    :
118 |     /// accessed multiple times. Subprocess communicates with parent process
119 |     /// via pipe under the hood and each pipe can only be consumed once.
120 |     public var standardError: some AsyncSequence<SequenceOutput.Buffer, any Swift.Error> {
    |                `- note: add @available attribute to enclosing property
121 |         let consumptionState = self.outputConsumptionState.bitwiseXor(
    |                                                            |- error: 'bitwiseXor(_:ordering:)' is only available in macOS 15.0 or newer
    |                                                            `- note: add 'if #available' version check
122 |             OutputConsumptionState.standardErrorConsumed.rawValue,
123 |             ordering: .relaxed

/Users/stormacq/Documents/amazon/code/swift/bedrock/swift-subprocess/Sources/Subprocess/Execution.swift:123:24: error: 'relaxed' is only available in macOS 15.0 or newer
112 | @available(SubprocessSpan, *)
113 | #endif
114 | extension Execution where Error == SequenceOutput {
    | `- note: add @available attribute to enclosing extension
115 |     /// The standard error of the subprocess.
116 |     ///
    :
118 |     /// accessed multiple times. Subprocess communicates with parent process
119 |     /// via pipe under the hood and each pipe can only be consumed once.
120 |     public var standardError: some AsyncSequence<SequenceOutput.Buffer, any Swift.Error> {
    |                `- note: add @available attribute to enclosing property
121 |         let consumptionState = self.outputConsumptionState.bitwiseXor(
122 |             OutputConsumptionState.standardErrorConsumed.rawValue,
123 |             ordering: .relaxed
    |                        |- error: 'relaxed' is only available in macOS 15.0 or newer
    |                        `- note: add 'if #available' version check
124 |         ).newValue
125 | 
@sebsto sebsto added the bug Something isn't working label Apr 20, 2025
@sebsto
Copy link
Author

sebsto commented Apr 20, 2025

Fixed by updating platform description in Package.swift

diff --git a/Package.swift b/Package.swift
index 8f8da6a..63a375f 100644
--- a/Package.swift
+++ b/Package.swift
@@ -31,7 +31,7 @@ defaultTraits.insert("SubprocessSpan")
 
 let package = Package(
     name: "Subprocess",
-    platforms: [.macOS(.v13)],
+    platforms: [.macOS(.v15)],
     products: [
         .library(
             name: "Subprocess",

@fpseverino
Copy link

#4 should solve the issue while keeping macOS 13 as the minimum version

@iCharlesHu
Copy link
Contributor

iCharlesHu commented Apr 22, 2025

Actually had to close down the old PR because I had to re fork the repo for some reason. Here's the new PR:
#16

I tested on macOS 13.5 + Swift 6.0

@cmcgee1024
Copy link
Member

I'll need to preserve macOS 13 compatibility if I were to adopt this in swiftly. It'll be great if subprocess can support older macOS.

@iCharlesHu
Copy link
Contributor

@cmcgee1024 sounds good. macOS 13 is the current target compatibility.

@cmcgee1024
Copy link
Member

I think that macOS 13 compatibility will also fix the SPI build failures, and permit it to show macOS as a supported platform: https://swiftpackageindex.com/swiftlang/swift-subprocess/builds

@iCharlesHu
Copy link
Contributor

Should be resolved by #16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants