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.
A wild guess: People before you found this limitation and figured out a workaround so Apple can't see that it's an emulator - and thus allowing you to login with your Apple ID. Perhaps search for "virtualbox", and the exact error message where it says you can't login, and see what content is out there?
A wild guess: People before you found this limitation and figured out a workaround so Apple can't see that it's an emulator - and thus allowing you to login with your Apple ID. Perhaps search for "virtualbox", and the exact error message where it says you can't login, and see what content is out there?