xcodebuild error: "requested but didn't find extension point with identifier ..."

1,742

Solution 1

This command worked out for me: softwareupdate -d -a.

Reference: https://huckfinnsmoneytree.com/how-to-download-macos-updates-using-the-terminal/

Solution 2

Please refer to the message, you can find out solution. https://developer.apple.com/forums/thread/703233

SOLUTION (for me):

I had to first find the software update manually:

softwareupdate --list

This provided me with the following output:

Finding available software Software Update found the following new or updated software:

  • Label: Command Line Tools for Xcode-13.3 Title: Command Line Tools for Xcode, Version: 13.3, Size: 718145KiB, Recommended: YES, I then ran:

softwareupdate -i "Command Line Tools for Xcode-13.3"

(NOTE: You pass the "Label:" output as the string as yours could be different.

Share:
1,742
Salahuddin
Author by

Salahuddin

I'm an electronics engineering student , i'm Studying C language and i use Eclipse compiler.

Updated on January 04, 2023

Comments

  • Salahuddin
    Salahuddin over 1 year

    I'm using Xcode 13.3.1.

    I'm trying to build a flutter application in Android Studio. It failed with the following error. To make it dead simple I tried just running xcodebuild which produced the same error as in Android Studio:

     .oh-my-zsh git:(master) xcodebuild
    2022-04-21 19:45:25.858 xcodebuild[32450:312401] 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-04-21 19:45:25.859 xcodebuild[32450:312401] 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
    Command line invocation:
        /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
    
    User defaults from command line:
        IDEPackageSupportUseBuiltinSCM = YES
    
    xcodebuild: error: The directory /Users/salahuddin/.oh-my-zsh does not contain an Xcode project.
    

    Any idea what causes this error and how to fix it?

  • Salahuddin
    Salahuddin about 2 years
    I tried running this command -> xcode-select: error: command line tools are already installed, use "Software Update" to install updates. Also tried softwareupdate --install but nothing was installed.
  • Salahuddin
    Salahuddin about 2 years
    when I run this command I got no new updates available