XCode13.4 run flutter project failed to build iOS app

I just upgraded to Xcode 13.4 in macOS Monterey 12.4 with M1, running a flutter project got this error:

Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore 2022-05-21 15:44:37.106 xcodebuild[21400:114339] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore ** BUILD FAILED **

Now, I am confused, I am running a Flutter iOS app on device, why throughs out errors like watchOS? And I totally don't know how to resolve this error. Any one could help me?

Does it occur if you create a new project ?

Could it be that some metadata of your project was corrupted and make Xcode interpret it has a WatchOS companion ?

In any case, you should try a clean build folder.

I'm facing the same issue when building an ionic app on my M1 mac, were you able to fix this?