Can't build for iOS with version 2023.1.0b9 or above

In the Xcode (v14.2) project I get the following error:

/Users/[username]/Documents/Projects/[projectname]/Build/Il2CppOutputProject/Source/il2cppOutput/GenericMethods1.cpp:25279:7 use of undeclared identifier 'il2cpp_codegen_runtime_metadata_is_initialized'; did you mean 'il2cpp_codegen_runtime_class_init_inline'?

I don’t get this error with 2023.1.0b8 or below.

I’ve tried changing the code stripping settings (on/off/minimal/max) based on searches for this error, but it doesn’t make a difference. Any other things I can try?