Skip to content

Commit c052cf7

Browse files
committed
Remove unnecessary version checks
The deployment target is now macOS 14.
1 parent 4d71134 commit c052cf7

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

Sources/SWBAndroidPlatform/AndroidSDK.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ public import Foundation
4646

4747
let metaPath = ndkPath.join("meta")
4848

49-
guard #available(macOS 14, *) else {
50-
throw StubError.error("Unsupported macOS version")
51-
}
52-
5349
if version < Self.minimumNDKVersion {
5450
throw StubError.error("Android NDK version at path '\(ndkPath.str)' is not supported (r\(Self.minimumNDKVersion.description) or later required)")
5551
}

Sources/SWBCore/SpecImplementations/Tools/CodeSign.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,10 +191,8 @@ public final class CodesignToolSpec : CommandLineToolSpec, SpecIdentifierType, @
191191
commandLine.append(contentsOf: ["--launch-constraint-responsible", responsibleProcessLaunchConstraint.str])
192192
}
193193

194-
if cbc.producer.systemInfo?.operatingSystemVersion >= Version(14) {
195-
if let libraryLoadConstraint = cbc.producer.signingSettings?.libraryConstraint {
196-
commandLine.append(contentsOf: ["--library-constraint", libraryLoadConstraint.str])
197-
}
194+
if let libraryLoadConstraint = cbc.producer.signingSettings?.libraryConstraint {
195+
commandLine.append(contentsOf: ["--library-constraint", libraryLoadConstraint.str])
198196
}
199197

200198
// Add the path to the file to sign.

0 commit comments

Comments
 (0)