I encountered this error as well, though I don't remember which version of MAUI I was using at the time. My Mac was running macOS Sequoia, and since Xcode 16 wasn't yet supported by MAUI, I had to use the Xcode 16 beta. However, after updating MAUI to version 8.0.70, I was able to use Xcode 16, and the error disappeared