Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix "'xcodebuild' requires Xcode" error #13

Closed
alrra opened this issue Sep 27, 2015 · 0 comments
Closed

Fix "'xcodebuild' requires Xcode" error #13

alrra opened this issue Sep 27, 2015 · 0 comments
Labels

Comments

@alrra
Copy link
Owner

alrra commented Sep 27, 2015

By default, the xcode-select developer directory points to /Library/Developer/CommandLineTools, but since it doesn't get (immediately?) updated to point to the appropriate directory from within Xcode.app once Xcode is installed, the following error will be raised when trying to install anything that requires the Xcode CLTs:

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

This can be easily fixed by pointing the xcode-select developer directory to the appropriate directory from within Xcode.app.

sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
@alrra alrra closed this as completed in e5977d4 Sep 27, 2015
@alrra alrra changed the title Fix error regarding "'xcodebuild' requires Xcode" Fix error regarding "'xcodebuild requires Xcode" Aug 27, 2016
@alrra alrra changed the title Fix error regarding "'xcodebuild requires Xcode" Fix error regarding "''xcodebuild' requires Xcode" Aug 27, 2016
@alrra alrra changed the title Fix error regarding "''xcodebuild' requires Xcode" Fix error regarding "'xcodebuild' requires Xcode" Aug 27, 2016
@alrra alrra added the macOS label Oct 2, 2016
Repository owner deleted a comment from uc-asa Nov 16, 2018
alrra added a commit that referenced this issue Oct 12, 2020
By default, the `xcode-select` developer directory points to
`/Library/Developer/CommandLineTools`, but since it doesn't
get (immediately?) updated to point to the appropriate directory
from within `Xcode.app` once `Xcode` is installed, the following
error will be raised when trying to install anything that require
the `Xcode` CLTs:

 " xcode-select: error: tool 'xcodebuild' requires Xcode, but
   active developer directory '/Library/Developer/CommandLineTools'
   is a command line tools instance. "

This commit fixes the issue described above by making the
`xcode-select` developer directory point to the appropriate
directory from within `Xcode.app` once Xcode is installed.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Fix #13
Ref #13
@alrra alrra changed the title Fix error regarding "'xcodebuild' requires Xcode" Fix "'xcodebuild' requires Xcode" error Oct 18, 2020
alrra added a commit that referenced this issue Oct 19, 2020
By default, the `xcode-select` developer directory points to
`/Library/Developer/CommandLineTools`, but since it doesn't
get (immediately?) updated to point to the appropriate directory
from within `Xcode.app` once `Xcode` is installed, the following
error will be raised when trying to install anything that require
the `Xcode` CLTs:

  | xcode-select: error: tool 'xcodebuild' requires Xcode, but
  | active developer directory '/Library/Developer/CommandLineTools'
  | is a command line tools instance.

This commit fixes the issue described above by making the
`xcode-select` developer directory point to the appropriate
directory from within `Xcode.app` once Xcode is installed.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Ref: #13
Fix: #13
alrra added a commit that referenced this issue Oct 19, 2020
By default, the `xcode-select` developer directory points
to `/Library/Developer/CommandLineTools`, but since it doesn't
get (immediately?) updated to point to the appropriate directory
from within `Xcode.app` once `Xcode` is installed, the following
error will be raised when trying to install anything that require
the `Xcode` CLTs:

  " xcode-select: error: tool 'xcodebuild' requires Xcode,
    but active developer directory '/Library/Developer/CommandLineTools'
    is a command line tools instance. "

This commit fixes the issue described above by making
the `xcode-select` developer directory point to the appropriate
directory from within `Xcode.app` once Xcode is installed.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Ref: #13
Fix: #13
alrra added a commit that referenced this issue Oct 20, 2020
By default, the `xcode-select` developer directory points
to `/Library/Developer/CommandLineTools`, but since it doesn't
get (immediately?) updated to point to the appropriate directory
from within `Xcode.app` once `Xcode` is installed, the following
error will be raised when trying to install anything that require
the `Xcode` CLTs:

  " xcode-select: error: tool 'xcodebuild' requires Xcode,
    but active developer directory '/Library/Developer/CommandLineTools'
    is a command line tools instance. "

This commit fixes the issue described above by making
the `xcode-select` developer directory point to the appropriate
directory from within `Xcode.app` once Xcode is installed.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Ref: #13
Fix: #13
alrra added a commit that referenced this issue May 17, 2021
By default, the `xcode-select` developer directory points
to `/Library/Developer/CommandLineTools`, but since it doesn't
get (immediately?) updated to point to the appropriate directory
from within `Xcode.app` once `Xcode` is installed, the following
error will be raised when trying to install anything that require
the `Xcode` CLTs:

  " xcode-select: error: tool 'xcodebuild' requires Xcode,
    but active developer directory '/Library/Developer/CommandLineTools'
    is a command line tools instance. "

This commit fixes the issue described above by making
the `xcode-select` developer directory point to the appropriate
directory from within `Xcode.app` once Xcode is installed.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Ref: #13
Fix: #13
alrra added a commit that referenced this issue May 17, 2021
By default, the `xcode-select` developer directory points
to `/Library/Developer/CommandLineTools`, but since it doesn't
get (immediately?) updated to point to the appropriate directory
from within `Xcode.app` once `Xcode` is installed, the following
error will be raised when trying to install anything that require
the `Xcode` CLTs:

  " xcode-select: error: tool 'xcodebuild' requires Xcode,
    but active developer directory '/Library/Developer/CommandLineTools'
    is a command line tools instance. "

This commit fixes the issue described above by making
the `xcode-select` developer directory point to the appropriate
directory from within `Xcode.app` once Xcode is installed.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Ref: #13
Fix: #13
alrra added a commit that referenced this issue May 17, 2021
By default, the `xcode-select` developer directory points
to `/Library/Developer/CommandLineTools`, but since it doesn't
get (immediately?) updated to point to the appropriate directory
from within `Xcode.app` once `Xcode` is installed, the following
error will be raised when trying to install anything that require
the `Xcode` CLTs:

  " xcode-select: error: tool 'xcodebuild' requires Xcode,
    but active developer directory '/Library/Developer/CommandLineTools'
    is a command line tools instance. "

This commit fixes the issue described above by making
the `xcode-select` developer directory point to the appropriate
directory from within `Xcode.app` once Xcode is installed.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Ref: #13
Fix: #13
alrra added a commit that referenced this issue May 17, 2021
By default, the `xcode-select` developer directory points
to `/Library/Developer/CommandLineTools`, but since it doesn't
get (immediately?) updated to point to the appropriate directory
from within `Xcode.app` once `Xcode` is installed, the following
error will be raised when trying to install anything that require
the `Xcode` CLTs:

  " xcode-select: error: tool 'xcodebuild' requires Xcode,
    but active developer directory '/Library/Developer/CommandLineTools'
    is a command line tools instance. "

This commit fixes the issue described above by making
the `xcode-select` developer directory point to the appropriate
directory from within `Xcode.app` once Xcode is installed.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Ref: #13
Fix: #13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant