In the SystemLanguageModel there are
extension FoundationModels.GenerationSchema
extension FoundationModels.GeneratedContent
extension AnyLanguageModel.GeneratedContent
extension Tool
That are marked only with @available(macOS 26.0, *) and not with @available(macOS 26.0, iOS 26.0, watchOS 26.0, tvOS 26.0, visionOS 26.0, *)
This cause an error on Xcode 26 where the project target is an IOS version < 26.0
In the
SystemLanguageModelthere areextension FoundationModels.GenerationSchemaextension FoundationModels.GeneratedContentextension AnyLanguageModel.GeneratedContentextension ToolThat are marked only with
@available(macOS 26.0, *)and not with@available(macOS 26.0, iOS 26.0, watchOS 26.0, tvOS 26.0, visionOS 26.0, *)This cause an error on Xcode 26 where the project target is an IOS version < 26.0