Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Sources/SwiftBuildSupport/PackagePIFBuilder+Helpers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -902,6 +902,9 @@ extension ProjectModel.BuildSettings {

case .ARCHS, .IPHONEOS_DEPLOYMENT_TARGET, .SPECIALIZATION_SDK_OPTIONS:
fatalError("Unexpected BuildSettings.Declaration: \(setting)")
// Allow staging in new cases
default:
fatalError("Unhandled enum case in BuildSettings.Declaration. Will generate a warning until we have SE-0487")
}
} else {
switch setting {
Expand All @@ -921,6 +924,9 @@ extension ProjectModel.BuildSettings {

case .ARCHS, .IPHONEOS_DEPLOYMENT_TARGET, .SPECIALIZATION_SDK_OPTIONS:
fatalError("Unexpected BuildSettings.Declaration: \(setting)")
// Allow staging in new cases
default:
fatalError("Unhandled enum case in BuildSettings.Declaration. Will generate a warning until we have SE-0487")
}
}
}
Expand Down Expand Up @@ -949,6 +955,9 @@ extension ProjectModel.BuildSettings.MultipleValueSetting {
self = .SWIFT_ACTIVE_COMPILATION_CONDITIONS
case .ARCHS, .IPHONEOS_DEPLOYMENT_TARGET, .SWIFT_VERSION:
return nil
// Allow staging in new cases
default:
fatalError("Unhandled enum case in BuildSettings.Declaration. Will generate a warning until we have SE-0487")
}
}
}
Expand Down