I will try to record the SPI data and to create a IAR project in simulation mode.
If I succeed, you will be able to test the project in the simulation mode with IAR without hardware. Do you think it will help?
I just had the same error message -34 version mismatch, although it worked several days ago.
I am using a different hardware configuration (ESP32, Adruino-IDE respectively Visual Studio) but maybe the solution is the same.
There was an update of the BSEC-library, but in case of the Arduino-IDE you have to copy manually the compiled binary library file to a different directory, what I forgot to do.
At the end the error message means wat it says: the new .h header-files did not match with the old library file I forgot to replace with the new library file.
Best regards, Martin