Cannot Unlock Debug Keystore + Build Failed 256

Thanks for your reply. When I tried installing Rosetta via command line. When I run:
softwareupdate --install-rosetta

I get this output:
Installing Rosetta 2 on this system is not supported.

I have a MacBook Pro 2019 with Intel Core i9.

This might be related to what @umalemon mentioned here: debug.keystore doesn't work - #6 by umalemon