Error in Xcode console

Lately I am getting this error.

GenerativeModelsAvailability.Parameters: Initialized with invalid language code: en-GB. Expected to receive two-letter ISO 639 code. e.g. 'zh' or 'en'. Falling back to: en

Does anyone know what this is and how it can be resolved. The error does not crash the app

Does the error appear in the console, or is it being thrown when you attempt to call respond(to:)?

I experience the same issue. First time I saw this error was when I installed XCode 26.0.1 I suspect this is a bug in Xcode as the error seems to relate to something in different framework.

Error in Xcode console
 
 
Q