IOS related error when packaging for Windows

I reinstall Microsoft visual studio to newest version (from 2016 to 2022) and it worked for me.