diff --git a/Sources/SotoCodeGeneratorLib/Templates/shapes.swift b/Sources/SotoCodeGeneratorLib/Templates/shapes.swift index f6e27a9..e70a116 100644 --- a/Sources/SotoCodeGeneratorLib/Templates/shapes.swift +++ b/Sources/SotoCodeGeneratorLib/Templates/shapes.swift @@ -17,7 +17,12 @@ extension Templates { {{%CONTENT_TYPE:TEXT}} {{>header}} + #if os(macOS) import Foundation + #else + // swift-corelibs-foundation hasn't been updated with Sendable conformances + @preconcurrency import Foundation + #endif import SotoCore extension {{name}} {