Unusual errors in xcodebuild

I am getting the following errors when running xcodebuild from the command line:

xcodebuild[22187:279813] 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

xcodebuild[22187:279813] 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

What does this mean, and how do I fix it?

If you're seeing this, as I was, when trying to use git in Terminal, you may need to install Xcode command line tools. I needed to do this for Xcode 14 beta 4 and now again for beta 5. In Xcode, choose Open Developer Tool from the Xcode menu (first menu), then choose More Developer Tools... This will send you to the Apple Developer site, where you can download what you need.

Trying to export an iOS app from a Godot project, I ran into this same Requested but did not find extension point error. I tried nearly all of the solutions found in StackOverflow and in this thread (updating/reinstalling Godot/Xcode/Command Line Tools, selecting Command Line Tools path in Xcode, etc.), and nothing worked for me. Finally, I went through the output of Godot & xcodebuild line-by-line and found this error:

Failed to create provisioning profile. There are no devices registered in your account on the developer website. Select a device run destination to have Xcode register it.

Once I registered my iPhone 11 and Intel MacBook Pro on the Certificates, Identifiers & Profiles screen in my Apple Developer Account, the export completed without errors.

I have this error while building Flutter app on Command Line. I tried all the above fix but it did not work. I solve the error by reading the Xcode output error below this and I followed the instruction to fix the error. In my own case the error was:

lib/pages/cart/payment.dart:82:32: Error: The method 'showSnackBar' isn't defined for the class 'ScaffoldState'.

 - 'ScaffoldState' is from 'package:flutter/src/material/scaffold.dart' ('../../../../flutter/packages/flutter/lib/src/material/scaffold.dart').
Try correcting the name to the name of an existing method, or defining a method named 'showSnackBar'.
          Scaffold.of(context).showSnackBar(

I discovered that scaffold syntax is deprecated, so, I googled the right syntax and changed "Scaffold.of(content)" to "ScaffoldMessenger.of(content)".

THIS MAY NOT BE THE ERROR IN YOUR CASE, BUT CALM AND STUDY THE ERROR.

Sorry to resurrect this year old thread, but it's the first result for this error on Google and figured future visitors deserve the command: xcode-select --install. This is sometimes required after macOS upgrades, and resolved this error for me.

Unusual errors in xcodebuild
 
 
Q