Skip to content

fix: availability in SystemLanguageModel #62

Description

@bsorrentino

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions