Skip to content

Commit 301e4e9

Browse files
Merge pull request #950 from ian-twilightcoder/remove-system-prefix-fallback
Remove the system prefix fallbacks
2 parents 1cf7623 + bb4d892 commit 301e4e9

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

Sources/SWBCore/SDKRegistry.swift

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -407,16 +407,7 @@ public final class SDKVariant: PlatformInfoProvider, Sendable {
407407
self.minimumOSForSwiftConcurrency = try (supportedTargetDict["SwiftConcurrencyMinimumDeploymentTarget"]?.stringValue ?? concurrency).map { try Version($0) }
408408
self.minimumOSForSwiftSpan = try (supportedTargetDict["SwiftSpanMinimumDeploymentTarget"]?.stringValue ?? span).map { try Version($0) }
409409

410-
self.systemPrefix = supportedTargetDict["SystemPrefix"]?.stringValue ?? {
411-
switch name {
412-
case MacCatalystInfo.sdkVariantName:
413-
return "/System/iOSSupport"
414-
case "driverkit":
415-
return "/System/DriverKit"
416-
default:
417-
return ""
418-
}
419-
}()
410+
self.systemPrefix = supportedTargetDict["SystemPrefix"]?.stringValue ?? ""
420411
}
421412

422413
private static func fallbackDeviceFamiliesData(variantName name: String) throws -> PropertyListItem {

0 commit comments

Comments
 (0)