Closed chenzhekl closed 4 months ago
Thanks for the report. Can you run with --verbose
and post the logs?
Hi @jeromelaban , Thanks for your reply. This is the relevant output with --verbose
🔎 XCode 15.0.1 Checkup...
SHELL: /bin/zsh /var/folders/fh/4480kflx6wdcnj2tfmwh4cj40000gp/T/tmpLtINdJ.tmp
/Library/Developer/CommandLineTools
💉 Recommendation: Run xcode-select --install
🔔 Attempt to fix? [y/n] (y): n
By the way, this is my folder structure of /Library/Developer/CommandLineTools
~ % tree -L 3 /Library/Developer/CommandLineTools
/Library/Developer/CommandLineTools
├── Library
│  ├── Developer
│  │  └── Acknowledgments.pdf
│  ├── Frameworks
│  │  └── Python3.framework
│  └── PrivateFrameworks
│  └── LLDB.framework
├── SDKs
│  ├── MacOSX.sdk -> MacOSX14.4.sdk
│  ├── MacOSX12.3.sdk
│  │  ├── Entitlements.plist
│  │  ├── SDKSettings.json
│  │  ├── SDKSettings.plist
│  │  ├── System
│  │  └── usr
│  ├── MacOSX12.sdk -> MacOSX12.3.sdk
│  ├── MacOSX13.3.sdk
│  │  ├── Entitlements.plist
│  │  ├── SDKSettings.json
│  │  ├── SDKSettings.plist
│  │  ├── System
│  │  └── usr
│  ├── MacOSX13.sdk -> MacOSX13.3.sdk
│  ├── MacOSX14.4.sdk
│  │  ├── Entitlements.plist
│  │  ├── SDKSettings.json
│  │  ├── SDKSettings.plist
│  │  ├── System
│  │  └── usr
│  └── MacOSX14.sdk -> MacOSX14.4.sdk
└── usr
├── bin
│  ├── 2to3 -> ../../Library/Frameworks/Python3.framework/Versions/3.9/bin/2to3
│  ├── 2to3-3.9 -> ../../Library/Frameworks/Python3.framework/Versions/3.9/bin/2to3-3.9
│  ├── DeRez
│  ├── GetFileInfo
│  ├── ResMerger
│  ├── Rez
│  ├── SetFile
│  ├── SplitForks
│  ├── ar
│  ├── as
│  ├── asa
│  ├── bison
│  ├── bitcode_strip
│  ├── c++ -> clang
│  ├── c++filt -> llvm-cxxfilt
│  ├── c89
│  ├── c99
│  ├── cache-build-session
│  ├── cc -> clang
│  ├── clang
│  ├── clang++ -> clang
│  ├── clang-cache -> clang
│  ├── clang-stat-cache
│  ├── clangd
│  ├── cmpdylib
│  ├── codesign_allocate
│  ├── codesign_allocate-p -> codesign_allocate
│  ├── cpp
│  ├── crashlog -> ../../../SharedFrameworks/LLDB.framework/Versions/Current/Resources/Python/lldb/macosx/crashlog.py
│  ├── ctags
│  ├── ctf_insert
│  ├── dsymutil
│  ├── dwarfdump -> llvm-dwarfdump
│  ├── flex
│  ├── flex++
│  ├── g++ -> gcc
│  ├── gatherheaderdoc
│  ├── gcc
│  ├── gcov -> llvm-cov
│  ├── git
│  ├── git-receive-pack -> git
│  ├── git-shell
│  ├── git-upload-archive -> git
│  ├── git-upload-pack -> git
│  ├── gm4
│  ├── gnumake
│  ├── gperf
│  ├── hdxml2manxml
│  ├── headerdoc2html
│  ├── indent
│  ├── install_name_tool
│  ├── ld
│  ├── ld-classic
│  ├── lex
│  ├── libtool
│  ├── lipo
│  ├── lldb
│  ├── llvm-cov
│  ├── llvm-cxxfilt
│  ├── llvm-dwarfdump
│  ├── llvm-nm
│  ├── llvm-objdump
│  ├── llvm-otool
│  ├── llvm-profdata
│  ├── llvm-size
│  ├── lorder
│  ├── make
│  ├── mig
│  ├── nm -> llvm-nm
│  ├── nm-classic
│  ├── nmedit
│  ├── notarytool
│  ├── objdump -> llvm-objdump
│  ├── otool -> llvm-otool
│  ├── otool-classic
│  ├── pagestuff
│  ├── pip3
│  ├── pip3.9
│  ├── pydoc3 -> ../../Library/Frameworks/Python3.framework/Versions/3.9/bin/pydoc3
│  ├── pydoc3.9 -> ../../Library/Frameworks/Python3.framework/Versions/3.9/bin/pydoc3.9
│  ├── python3 -> ../../Library/Frameworks/Python3.framework/Versions/3.9/bin/python3
│  ├── python3.9 -> ../../Library/Frameworks/Python3.framework/Versions/3.9/bin/python3.9
│  ├── ranlib -> libtool
│  ├── resolveLinks
│  ├── rpcgen
│  ├── scalar
│  ├── segedit
│  ├── size -> size-classic
│  ├── size-classic
│  ├── sourcekit-lsp
│  ├── stapler
│  ├── strings
│  ├── strip
│  ├── swift -> swift-frontend
│  ├── swift-api-digester -> swift-frontend
│  ├── swift-api-extract -> swift-frontend
│  ├── swift-build -> swift-package
│  ├── swift-cache-tool -> swift-frontend
│  ├── swift-demangle
│  ├── swift-experimental-sdk -> swift-package
│  ├── swift-frontend
│  ├── swift-package
│  ├── swift-package-collection -> swift-package
│  ├── swift-package-registry -> swift-package
│  ├── swift-plugin-server
│  ├── swift-run -> swift-package
│  ├── swift-stdlib-tool
│  ├── swift-symbolgraph-extract -> swift-frontend
│  ├── swift-test -> swift-package
│  ├── swiftc -> swift-frontend
│  ├── tapi
│  ├── tapi-analyze
│  ├── unifdef
│  ├── unifdefall
│  ├── unwinddump
│  ├── vtool
│  ├── xcindex-test
│  └── xml2man
├── include
│  ├── FlexLexer.h
│  └── swift
├── lib
│  ├── arch_tool
│  ├── clang
│  ├── libIndexStore.dylib
│  ├── libLTO.dylib
│  ├── libclang.dylib
│  ├── libcodedirectory.dylib
│  ├── libswiftDemangle.dylib
│  ├── libtapi.dylib
│  ├── libxcrun.dylib
│  ├── sourcekitd.framework
│  ├── sourcekitdInProc.framework
│  ├── swift
│  ├── swift-5.0
│  ├── swift-5.5
│  └── tapi
├── libexec
│  ├── as
│  ├── git-core
│  └── migcom
└── share
├── bison
├── clang
├── doc
├── git-core
├── headerdoc
├── man
└── swift
Thanks. Can you try:
xcodebuild
and post the result?/Applications/Xcode.app
xcodebuild
:
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
Ah, could that be reason? I installed homebrew first, which installed xcode command line tools. xcode.app was installed after that.
/Applications/Xcode.app
Update
Running sudo xcode-select -s /Applications/Xcode.app
does make uno-check
happy! Thanks a lot for the insights.
Every time I run uno-check, it prompts me to fix xcode installation. This is the message:
I have a working xcode installation, which can be verified by
xcode-select -p