You are right but in my case I have a mac bic sur virtualbox VM and I can test the application but I cannot notarize it because it needs XCode which can be downloaded from AppStore only if you have logged in with your Apple ID. The fact is that in the VM it does not allow you to login with your apple ID and responds that this device is not approved by apple.