Homebrew / brew

🍺 The missing package manager for macOS (or Linux)
https://brew.sh
BSD 2-Clause "Simplified" License
40.81k stars 9.58k forks source link

Brew Keeps Asking for Xcode When Xcode is Already Installed. #13969

Closed MikaelHashiCorp closed 1 year ago

MikaelHashiCorp commented 1 year ago

brew config output

❯ brew config
HOMEBREW_VERSION: 3.6.4
ORIGIN: https://github.com/Homebrew/brew
HEAD: 99682c5af3b48e7b37bf9c565781800153ee88fb
Last commit: 2 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 81d2ee7d3f4d193a62e67bea026445201699fd79
Core tap last commit: 70 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 16
Homebrew Ruby: 2.6.8 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: 16-core 64-bit kabylake
2022-10-04 16:15:34.100 xcodebuild[75573:1611121] [MT] DVTPlugInLoading: Failed to load code for plug-in com.apple.dt.IDESimulatorAvailability (/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin), error = Error Domain=NSCocoaErrorDomain Code=3588 "dlopen(/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, 0x0109): Symbol not found: (_OBJC_CLASS_$_SimDiskImage)
  Referenced from: '/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability'
  Expected in: '/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator'" UserInfo={NSLocalizedFailureReason=The bundle couldn’t be loaded., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, NSDebugDescription=dlopen(/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, 0x0109): Symbol not found: (_OBJC_CLASS_$_SimDiskImage)
  Referenced from: '/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability'
  Expected in: '/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator', NSBundlePath=/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin, NSLocalizedDescription=The bundle “IDESimulatorAvailability” couldn’t be loaded.}, dyldError = dlopen(/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, 0x0000): Symbol not found: (_OBJC_CLASS_$_SimDiskImage)
  Referenced from: '/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability'
  Expected in: '/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator'
2022-10-04 16:15:34.156 xcodebuild[75573:1611121] [MT] DVTAssertions: ASSERTION FAILURE in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot2/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-21304/DVTFoundation/PlugInArchitecture/DataModel/DVTPlugIn.m:374
Details:  Failed to load code for plug-in com.apple.dt.IDESimulatorAvailability (/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin)
Please ensure Xcode packages are up-to-date — try running 'xcodebuild -runFirstLaunch'.

NSBundle error: Error Domain=NSCocoaErrorDomain Code=3588 "dlopen(/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, 0x0109): Symbol not found: (_OBJC_CLASS_$_SimDiskImage)
  Referenced from: '/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability'
  Expected in: '/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator'" UserInfo={NSLocalizedFailureReason=The bundle couldn’t be loaded., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, NSDebugDescription=dlopen(/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, 0x0109): Symbol not found: (_OBJC_CLASS_$_SimDiskImage)
  Referenced from: '/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability'
  Expected in: '/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator', NSBundlePath=/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin, NSLocalizedDescription=The bundle “IDESimulatorAvailability” couldn’t be loaded.}
Object:   <DVTPlugIn: 0x600000270c80>
Method:   -loadAssertingOnError:error:
Thread:   <_NSMainThread: 0x60000264c440>{number = 1, name = main}
Hints: 

Backtrace:
  0  0x000000010643af61
  1  0x000000010643a495
  2  0x000000010643a6a1
  3  0x00000001062b139a
  4  0x000000010626cc52
  5  0x000000010626a9fe
  6  0x00007ff808e23317
  7  0x00007ff808e307ee
  8  0x0000000106489581
  9  0x000000010645f0b8
 10  0x000000010626a882
 11  0x000000010626aad4
 12  0x000000010734ff66
 13  0x000000010734f526
 14  0x000000010734e919
 15  0x0000000104cd79a4
 16  0x0000000104a5a20a
sh: line 1: 75575 Abort trap: 6           /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -find clang 2> /dev/null
clang: error: sh -c '/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -find clang 2> /dev/null' failed with exit code 34304: (null) (errno=Invalid argument)
xcode-select: Failed to locate 'clang', requesting installation of command line developer tools.
Clang: N/A
Git: 2.38.0 => /usr/local/bin/git
Curl: 7.79.1 => /usr/bin/curl
macOS: 12.6-x86_64
CLT: 14.1.0.0.1.1663981106
Xcode: 14.0.1

brew doctor output

❯ xcode-select -p
/Applications/Xcode.app/Contents/Developer
❯ xcode-select -v
xcode-select version 2395.
❯ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: No Cask quarantine support available: unknown reason.
2022-10-04 16:10:33.110 xcodebuild[74257:1604335] [MT] DVTPlugInLoading: Failed to load code for plug-in com.apple.dt.IDESimulatorAvailability (/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin), error = Error Domain=NSCocoaErrorDomain Code=3588 "dlopen(/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, 0x0109): Symbol not found: (_OBJC_CLASS_$_SimDiskImage)
  Referenced from: '/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability'
  Expected in: '/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator'" UserInfo={NSLocalizedFailureReason=The bundle couldn’t be loaded., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, NSDebugDescription=dlopen(/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, 0x0109): Symbol not found: (_OBJC_CLASS_$_SimDiskImage)
  Referenced from: '/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability'
  Expected in: '/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator', NSBundlePath=/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin, NSLocalizedDescription=The bundle “IDESimulatorAvailability” couldn’t be loaded.}, dyldError = dlopen(/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, 0x0000): Symbol not found: (_OBJC_CLASS_$_SimDiskImage)
  Referenced from: '/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability'
  Expected in: '/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator'
2022-10-04 16:10:33.170 xcodebuild[74257:1604335] [MT] DVTAssertions: ASSERTION FAILURE in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot2/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-21304/DVTFoundation/PlugInArchitecture/DataModel/DVTPlugIn.m:374
Details:  Failed to load code for plug-in com.apple.dt.IDESimulatorAvailability (/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin)
Please ensure Xcode packages are up-to-date — try running 'xcodebuild -runFirstLaunch'.

NSBundle error: Error Domain=NSCocoaErrorDomain Code=3588 "dlopen(/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, 0x0109): Symbol not found: (_OBJC_CLASS_$_SimDiskImage)
  Referenced from: '/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability'
  Expected in: '/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator'" UserInfo={NSLocalizedFailureReason=The bundle couldn’t be loaded., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, NSDebugDescription=dlopen(/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, 0x0109): Symbol not found: (_OBJC_CLASS_$_SimDiskImage)
  Referenced from: '/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability'
  Expected in: '/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator', NSBundlePath=/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin, NSLocalizedDescription=The bundle “IDESimulatorAvailability” couldn’t be loaded.}
Object:   <DVTPlugIn: 0x600003a8cc80>
Method:   -loadAssertingOnError:error:
Thread:   <_NSMainThread: 0x600001ec8440>{number = 1, name = main}
Hints: 

Backtrace:
  0  0x000000010e630f61
  1  0x000000010e630495
  2  0x000000010e6306a1
  3  0x000000010e4a739a
  4  0x000000010e462c52
  5  0x000000010e4609fe
  6  0x00007ff808e23317
  7  0x00007ff808e307ee
  8  0x000000010e67f581
  9  0x000000010e6550b8
 10  0x000000010e460882
 11  0x000000010e460ad4
 12  0x0000000111bb6f66
 13  0x0000000111bb6526
 14  0x0000000111bb5919
 15  0x000000010e3089a4
 16  0x000000010e08b20a
sh: line 1: 74261 Abort trap: 6           /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -find clang 2> /dev/null
clang: error: sh -c '/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -find clang 2> /dev/null' failed with exit code 34304: (null) (errno=Invalid argument)
xcode-select: Failed to locate 'clang', requesting installation of command line developer tools.

Verification

What were you trying to do (and why)?

Brew upgrade, to upgrade all my brew installations.

What happened (include all command output)?

❯ brew upgrade Running brew update --auto-update... ==> Auto-updated Homebrew! Updated 5 taps (hashicorp/tap, homebrew/core, homebrew/cask, homebrew/bundle and homebrew/services). ==> New Formulae autocorrect go-camo lmfit sambamba bazarr got mailsy scala@2.13 bdftopcf hashicorp/tap/consul-dataplane metview snowball camlp-streams hashicorp/tap/consul-enterprise mqttui sqlcmd dronedb hashicorp/tap/nomad-enterprise mycorrhiza tbls dynein hashicorp/tap/vault-enterprise netcdf-cxx tfel edencommon highway netcdf-fortran toml-test fonts-encodings hpp-fcl nuraft wasm-micro-runtime fortls jj opencl-icd-loader weasyprint fuego-firestore json2tsv python-typing-extensions gdrive-downloader liburing quilt-installer git-machete llvm@14 rome ==> New Casks akiflow cisdem-duplicate-finder pictureview random-mouse-clicker snapmaker-luban aptakube lunacy plugdata sanesidebuttons whist-browser 2022-10-04 15:15:42.707 xcodebuild[53044:1518621] [MT] DVTPlugInLoading: Failed to load code for plug-in com.apple.dt.IDESimulatorAvailability (/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin), error = Error Domain=NSCocoaErrorDomain Code=3588 "dlopen(/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, 0x0109): Symbol not found: (_OBJCCLASS$_SimDiskImage) Referenced from: '/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability' Expected in: '/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator'" UserInfo={NSLocalizedFailureReason=The bundle couldn’t be loaded., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, NSDebugDescription=dlopen(/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, 0x0109): Symbol not found: (_OBJCCLASS$_SimDiskImage) Referenced from: '/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability' Expected in: '/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator', NSBundlePath=/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin, NSLocalizedDescription=The bundle “IDESimulatorAvailability” couldn’t be loaded.}, dyldError = dlopen(/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, 0x0000): Symbol not found: (_OBJCCLASS$_SimDiskImage) Referenced from: '/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability' Expected in: '/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator' 2022-10-04 15:15:42.773 xcodebuild[53044:1518621] [MT] DVTAssertions: ASSERTION FAILURE in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot2/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-21304/DVTFoundation/PlugInArchitecture/DataModel/DVTPlugIn.m:374 Details: Failed to load code for plug-in com.apple.dt.IDESimulatorAvailability (/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin) Please ensure Xcode packages are up-to-date — try running 'xcodebuild -runFirstLaunch'.

NSBundle error: Error Domain=NSCocoaErrorDomain Code=3588 "dlopen(/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, 0x0109): Symbol not found: (_OBJCCLASS$_SimDiskImage) Referenced from: '/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability' Expected in: '/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator'" UserInfo={NSLocalizedFailureReason=The bundle couldn’t be loaded., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, NSDebugDescription=dlopen(/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, 0x0109): Symbol not found: (_OBJCCLASS$_SimDiskImage) Referenced from: '/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability' Expected in: '/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator', NSBundlePath=/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin, NSLocalizedDescription=The bundle “IDESimulatorAvailability” couldn’t be loaded.} Object: <DVTPlugIn: 0x6000007e15e0> Method: -loadAssertingOnError:error: Thread: <_NSMainThread: 0x6000023e0440>{number = 1, name = main} Hints:

Backtrace: 0 0x0000000103c2df61 1 0x0000000103c2d495 2 0x0000000103c2d6a1 3 0x0000000103aa439a 4 0x0000000103a5fc52 5 0x0000000103a5d9fe 6 0x00007ff808e23317 7 0x00007ff808e307ee 8 0x0000000103c7c581 9 0x0000000103c520b8 10 0x0000000103a5d882 11 0x0000000103a5dad4 12 0x0000000106fe2f66 13 0x0000000106fe2526 14 0x0000000106fe1919 15 0x00000001039059a4 16 0x000000010368820a sh: line 1: 53046 Abort trap: 6 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -find clang 2> /dev/null clang: error: sh -c '/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -find clang 2> /dev/null' failed with exit code 34304: (null) (errno=Invalid argument) xcode-select: Failed to locate 'clang', requesting installation of command line developer tools.

You have 21 outdated formulae and 3 outdated casks installed. You can upgrade them with brew upgrade or list them with brew outdated.

2022-10-04 15:15:48.722 xcodebuild[53436:1519317] [MT] DVTPlugInLoading: Failed to load code for plug-in com.apple.dt.IDESimulatorAvailability (/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin), error = Error Domain=NSCocoaErrorDomain Code=3588 "dlopen(/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, 0x0109): Symbol not found: (_OBJCCLASS$_SimDiskImage) Referenced from: '/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability' Expected in: '/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator'" UserInfo={NSLocalizedFailureReason=The bundle couldn’t be loaded., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, NSDebugDescription=dlopen(/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, 0x0109): Symbol not found: (_OBJCCLASS$_SimDiskImage) Referenced from: '/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability' Expected in: '/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator', NSBundlePath=/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin, NSLocalizedDescription=The bundle “IDESimulatorAvailability” couldn’t be loaded.}, dyldError = dlopen(/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, 0x0000): Symbol not found: (_OBJCCLASS$_SimDiskImage) Referenced from: '/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability' Expected in: '/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator' 2022-10-04 15:15:48.780 xcodebuild[53436:1519317] [MT] DVTAssertions: ASSERTION FAILURE in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot2/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-21304/DVTFoundation/PlugInArchitecture/DataModel/DVTPlugIn.m:374 Details: Failed to load code for plug-in com.apple.dt.IDESimulatorAvailability (/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin) Please ensure Xcode packages are up-to-date — try running 'xcodebuild -runFirstLaunch'.

NSBundle error: Error Domain=NSCocoaErrorDomain Code=3588 "dlopen(/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, 0x0109): Symbol not found: (_OBJCCLASS$_SimDiskImage) Referenced from: '/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability' Expected in: '/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator'" UserInfo={NSLocalizedFailureReason=The bundle couldn’t be loaded., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, NSDebugDescription=dlopen(/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, 0x0109): Symbol not found: (_OBJCCLASS$_SimDiskImage) Referenced from: '/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability' Expected in: '/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator', NSBundlePath=/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin, NSLocalizedDescription=The bundle “IDESimulatorAvailability” couldn’t be loaded.} Object: <DVTPlugIn: 0x600001deb2a0> Method: -loadAssertingOnError:error: Thread: <_NSMainThread: 0x6000039a4440>{number = 1, name = main} Hints:

Backtrace: 0 0x000000010ef61f61 1 0x000000010ef61495 2 0x000000010ef616a1 3 0x000000010edd839a 4 0x000000010ed93c52 5 0x000000010ed919fe 6 0x00007ff808e23317 7 0x00007ff808e307ee 8 0x000000010efb0581 9 0x000000010ef860b8 10 0x000000010ed91882 11 0x000000010ed91ad4 12 0x000000010fe76f66 13 0x000000010fe76526 14 0x000000010fe75919 15 0x000000010d7fe9a4 16 0x000000010d58120a sh: line 1: 53442 Abort trap: 6 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -find clang 2> /dev/null clang: error: sh -c '/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -find clang 2> /dev/null' failed with exit code 34304: (null) (errno=Invalid argument) xcode-select: Failed to locate 'clang', requesting installation of command line developer tools. ==> Upgrading 21 outdated packages: lima 0.11.3 -> 0.12.0 terraform 1.2.9 -> 1.3.1 postgresql@14 14.5_3 -> 14.5_5 postgresql@13 13.8_2 -> 13.8_3 gh 2.15.0 -> 2.16.1 libpng 1.6.37 -> 1.6.38 glib 2.72.3_1 -> 2.74.0 awscli 2.7.30 -> 2.7.31 sqlite 3.39.3 -> 3.39.4 xz 5.2.6 -> 5.2.7 libnghttp2 1.49.0 -> 1.50.0 bash 5.1.16 -> 5.2 ansible 6.3.0 -> 6.4.0 consul 1.13.1 -> 1.13.2 python@3.10 3.10.6_2 -> 3.10.7 node 18.9.0 -> 18.10.0 unbound 1.16.2 -> 1.16.3 git 2.37.3 -> 2.38.0 libffi 3.4.2 -> 3.4.3 vault 1.11.3 -> 1.11.4 gnutls 3.7.7 -> 3.7.8 ==> Downloading https://ghcr.io/v2/homebrew/core/libffi/manifests/3.4.3 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libffi/blobs/sha256:1d0154601d1960b54e6a95b41e85693fab93989c4dbb8245cd0e92d97d6c0a8f ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:1d0154601d1960b54e6a95b41e85693fab93989c4dbb8245cd0e92d97d6c0a8f?se=2022-10 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/sqlite/manifests/3.39.4 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/sqlite/blobs/sha256:43b72d87a55f57496284e1028986373e918f382b8381e6b29e1b43177759b7d3 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:43b72d87a55f57496284e1028986373e918f382b8381e6b29e1b43177759b7d3?se=2022-10 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/postgresql/13/manifests/13.8_3 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/postgresql/13/blobs/sha256:438f2efaafe890dd6ff5cd7aa02be47cfc74ed5a8bdd665c2034bffb54cf8d0a ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:438f2efaafe890dd6ff5cd7aa02be47cfc74ed5a8bdd665c2034bffb54cf8d0a?se=2022-10 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/gh/manifests/2.16.1 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/gh/blobs/sha256:78bd2a6f256fc44bad7d79dd85520d38099dc98c72d300c80d30d683452b84c9 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:78bd2a6f256fc44bad7d79dd85520d38099dc98c72d300c80d30d683452b84c9?se=2022-10 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libpng/manifests/1.6.38 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libpng/blobs/sha256:e75fbecd6315ba103d809ba3865aa68d8d31545596b0c17ef571383f01e71dee ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:e75fbecd6315ba103d809ba3865aa68d8d31545596b0c17ef571383f01e71dee?se=2022-10 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/glib/manifests/2.74.0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/glib/blobs/sha256:226a940bbed1b1ba38dea05e14f6cdc3d35e6fcd4cfe7cf39b760bf2d4718178 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:226a940bbed1b1ba38dea05e14f6cdc3d35e6fcd4cfe7cf39b760bf2d4718178?se=2022-10 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/xz/manifests/5.2.7 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/xz/blobs/sha256:02ed422191f81ca5c476f82264b6662a1ebcf95b90fb3ee10b52462cccdc55a8 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:02ed422191f81ca5c476f82264b6662a1ebcf95b90fb3ee10b52462cccdc55a8?se=2022-10 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/python/3.10/manifests/3.10.7 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/python/3.10/blobs/sha256:710e2e28077bf203fd50929bb094cb142e26f6ffd6661a5867c38db365f6578c ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:710e2e28077bf203fd50929bb094cb142e26f6ffd6661a5867c38db365f6578c?se=2022-10 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/awscli/manifests/2.7.31 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/awscli/blobs/sha256:745497843b0ab4d0d8732b394febfa2960f2b1b9d6b7cdfdd51c15f2589f037f ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:745497843b0ab4d0d8732b394febfa2960f2b1b9d6b7cdfdd51c15f2589f037f?se=2022-10 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libnghttp2/manifests/1.50.0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/libnghttp2/blobs/sha256:76848a36505c3090d7aae71c4eaf2fb5fd66b72078b6338235c4975b2cf9de6d ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:76848a36505c3090d7aae71c4eaf2fb5fd66b72078b6338235c4975b2cf9de6d?se=2022-10 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/bash/manifests/5.2 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/bash/blobs/sha256:1ec2f5fd0b9635ff892e5ebc8def03ce55232abc3731bd6ae33528dccb3d9371 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:1ec2f5fd0b9635ff892e5ebc8def03ce55232abc3731bd6ae33528dccb3d9371?se=2022-10 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/pyyaml/manifests/6.0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/pyyaml/blobs/sha256:13436e5862d0648d93dcc9798775fbfcacf02b716dc92387f32ebfa837df5e2b ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:13436e5862d0648d93dcc9798775fbfcacf02b716dc92387f32ebfa837df5e2b?se=2022-10 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/ansible/manifests/6.4.0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/ansible/blobs/sha256:1e3820e4a426f4b7956fa8a7c3cf89407043b2669b543871ee96aef4b2d1349c ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:1e3820e4a426f4b7956fa8a7c3cf89407043b2669b543871ee96aef4b2d1349c?se=2022-10 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/consul/manifests/1.13.2 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/consul/blobs/sha256:e135e662f24599319e0544ba21988f6b8db10f31c660adc64ede64899cc7aed6 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:e135e662f24599319e0544ba21988f6b8db10f31c660adc64ede64899cc7aed6?se=2022-10 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/node/manifests/18.10.0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/node/blobs/sha256:008ff2d7f8c53650cace46f6ac9d2f0d202809c5977cfd7b03b0595afaefa7b9 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:008ff2d7f8c53650cace46f6ac9d2f0d202809c5977cfd7b03b0595afaefa7b9?se=2022-10 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/unbound/manifests/1.16.3 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/unbound/blobs/sha256:bd583ee145478eb729b4ccd1dda36f7a09c7a6940eed6e044cf7c95d413d6194 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:bd583ee145478eb729b4ccd1dda36f7a09c7a6940eed6e044cf7c95d413d6194?se=2022-10 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/git/manifests/2.38.0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/git/blobs/sha256:44f21599efa7aeded48999cf4753a9655b0f87e901883f896d9acc7cae338011 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:44f21599efa7aeded48999cf4753a9655b0f87e901883f896d9acc7cae338011?se=2022-10 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/vault/manifests/1.11.4 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/vault/blobs/sha256:69d2d0bf0bc42fc9c28eaffa637fd779bf64e834ffe795dc3d71e1b2005a2c69 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:69d2d0bf0bc42fc9c28eaffa637fd779bf64e834ffe795dc3d71e1b2005a2c69?se=2022-10 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/gnutls/manifests/3.7.8 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/gnutls/blobs/sha256:6bd29803c8373834e2a202a1998fe8b278b65a0dcd828e9b05d76b9be1d5a623 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:6bd29803c8373834e2a202a1998fe8b278b65a0dcd828e9b05d76b9be1d5a623?se=2022-10 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/capstone/manifests/4.0.2 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/capstone/blobs/sha256:dda60f389b39dc6b777940428feccee4a0b50db91629d152a5e62a95c3915d38 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:dda60f389b39dc6b777940428feccee4a0b50db91629d152a5e62a95c3915d38?se=2022-10 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/lima/manifests/0.12.0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/lima/blobs/sha256:0c9c6157720b74c1874d782d0d736c310d3d60f127021d6f7346045faf374508 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:0c9c6157720b74c1874d782d0d736c310d3d60f127021d6f7346045faf374508?se=2022-10 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/terraform/manifests/1.3.1 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/terraform/blobs/sha256:16bd4fba33097131e2596220a0f1ac5a1f35992518c4e00c93cdfd86ac6650dd ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:16bd4fba33097131e2596220a0f1ac5a1f35992518c4e00c93cdfd86ac6650dd?se=2022-10 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/postgresql/14/manifests/14.5_5 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/postgresql/14/blobs/sha256:f45e2b403e4dc0303f0c61cb429a1bd58c3c1cbe365adf5dbfada569cd2ba094 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:f45e2b403e4dc0303f0c61cb429a1bd58c3c1cbe365adf5dbfada569cd2ba094?se=2022-10 ######################################################################## 100.0% ==> Upgrading libffi 3.4.2 -> 3.4.3

==> Pouring libffi--3.4.3.monterey.bottle.tar.gz 🍺 /usr/local/Cellar/libffi/3.4.3: 17 files, 644.1KB ==> Running brew cleanup libffi... Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP. Hide these hints with HOMEBREW_NO_ENV_HINTS (see man brew). Removing: /usr/local/Cellar/libffi/3.4.2... (17 files, 599.8KB) ==> Upgrading sqlite 3.39.3 -> 3.39.4

==> Pouring sqlite--3.39.4.monterey.bottle.tar.gz 🍺 /usr/local/Cellar/sqlite/3.39.4: 11 files, 4.4MB ==> Running brew cleanup sqlite... Removing: /usr/local/Cellar/sqlite/3.39.3... (11 files, 4.4MB) Removing: /Users/mikael/Library/Caches/Homebrew/sqlite--3.39.3... (2MB) ==> Upgrading postgresql@13 13.8_2 -> 13.8_3

==> Pouring postgresql@13--13.8_3.monterey.bottle.tar.gz ==> Caveats This formula has created a default database cluster with: initdb --locale=C -E UTF-8 /usr/local/var/postgresql@13 For more details, read: https://www.postgresql.org/docs/13/app-initdb.html

postgresql@13 is keg-only, which means it was not symlinked into /usr/local, because this is an alternate version of another formula.

If you need to have postgresql@13 first in your PATH, run: echo 'export PATH="/usr/local/opt/postgresql@13/bin:$PATH"' >> ~/.zshrc

For compilers to find postgresql@13 you may need to set: export LDFLAGS="-L/usr/local/opt/postgresql@13/lib" export CPPFLAGS="-I/usr/local/opt/postgresql@13/include"

To restart postgresql@13 after an upgrade: brew services restart postgresql@13 Or, if you don't want/need a background service you can just run: /usr/local/opt/postgresql@13/bin/postgres -D /usr/local/var/postgresql@13 ==> Summary 🍺 /usr/local/Cellar/postgresql@13/13.8_3: 3,237 files, 42.2MB ==> Running brew cleanup postgresql@13... Removing: /usr/local/Cellar/postgresql@13/13.8_2... (3,237 files, 42.2MB) ==> Upgrading gh 2.15.0 -> 2.16.1

==> Pouring gh--2.16.1.monterey.bottle.tar.gz ==> Caveats zsh completions have been installed to: /usr/local/share/zsh/site-functions ==> Summary 🍺 /usr/local/Cellar/gh/2.16.1: 140 files, 35.0MB ==> Running brew cleanup gh... Removing: /usr/local/Cellar/gh/2.15.0... (140 files, 34.9MB) Removing: /Users/mikael/Library/Caches/Homebrew/gh--2.15.0... (8.0MB) ==> Upgrading libpng 1.6.37 -> 1.6.38

==> Pouring libpng--1.6.38.monterey.bottle.tar.gz 🍺 /usr/local/Cellar/libpng/1.6.38: 27 files, 1.3MB ==> Running brew cleanup libpng... Removing: /usr/local/Cellar/libpng/1.6.37... (27 files, 1.3MB) ==> Upgrading glib 2.72.3_1 -> 2.74.0

==> Pouring glib--2.74.0.monterey.bottle.tar.gz 🍺 /usr/local/Cellar/glib/2.74.0: 448 files, 20.8MB ==> Running brew cleanup glib... Removing: /usr/local/Cellar/glib/2.72.3_1... (449 files, 20.5MB) Removing: /Users/mikael/Library/Caches/Homebrew/glib--2.72.3... (6MB) Removing: /Users/mikael/Library/Caches/Homebrew/glib--2.72.3_1... (6MB) ==> Upgrading xz 5.2.6 -> 5.2.7

==> Pouring xz--5.2.7.monterey.bottle.tar.gz 🍺 /usr/local/Cellar/xz/5.2.7: 95 files, 1.4MB ==> Running brew cleanup xz... Removing: /usr/local/Cellar/xz/5.2.6... (95 files, 1.4MB) Removing: /Users/mikael/Library/Caches/Homebrew/xz--5.2.6... (433.6KB) ==> Upgrading python@3.10 3.10.6_2 -> 3.10.7

==> Pouring python@3.10--3.10.7.monterey.bottle.tar.gz ==> /usr/local/Cellar/python@3.10/3.10.7/bin/python3.10 -m ensurepip ==> /usr/local/Cellar/python@3.10/3.10.7/bin/python3.10 -m pip install -v --no-deps --no-index --upgrade --isolated --target=/usr/local/lib/python3.10/site-pack 🍺 /usr/local/Cellar/python@3.10/3.10.7: 3,112 files, 56.5MB ==> Running brew cleanup python@3.10... Removing: /usr/local/Cellar/python@3.10/3.10.6_2... (3,147 files, 56.9MB) Removing: /Users/mikael/Library/Caches/Homebrew/python@3.10--3.10.6_1... (14.6MB) Removing: /Users/mikael/Library/Caches/Homebrew/python@3.10--3.10.6_2... (14.6MB) ==> Upgrading awscli 2.7.30 -> 2.7.31

==> Pouring awscli--2.7.31.monterey.bottle.tar.gz ==> Caveats The "examples" directory has been installed to: /usr/local/share/awscli/examples

zsh completions and functions have been installed to: /usr/local/share/zsh/site-functions ==> Summary 🍺 /usr/local/Cellar/awscli/2.7.31: 12,671 files, 103.4MB ==> Running brew cleanup awscli... Removing: /usr/local/Cellar/awscli/2.7.30... (13,283 files, 107.9MB) Removing: /Users/mikael/Library/Caches/Homebrew/awscli--2.7.30... (18.4MB) ==> Upgrading libnghttp2 1.49.0 -> 1.50.0

==> Pouring libnghttp2--1.50.0.monterey.bottle.tar.gz 🍺 /usr/local/Cellar/libnghttp2/1.50.0: 13 files, 711.3KB ==> Running brew cleanup libnghttp2... Removing: /usr/local/Cellar/libnghttp2/1.49.0... (13 files, 726.7KB) Removing: /Users/mikael/Library/Caches/Homebrew/libnghttp2--1.49.0... (214.3KB) ==> Upgrading bash 5.1.16 -> 5.2

==> Pouring bash--5.2.monterey.bottle.tar.gz 🍺 /usr/local/Cellar/bash/5.2: 162 files, 11.7MB ==> Running brew cleanup bash... Removing: /usr/local/Cellar/bash/5.1.16... (157 files, 10.9MB) ==> Upgrading ansible 6.3.0 -> 6.4.0

==> Installing dependencies for ansible: pyyaml ==> Installing ansible dependency: pyyaml ==> Pouring pyyaml--6.0.monterey.bottle.tar.gz 🍺 /usr/local/Cellar/pyyaml/6.0: 74 files, 1.7MB ==> Installing ansible ==> Pouring ansible--6.4.0.monterey.bottle.tar.gz 🍺 /usr/local/Cellar/ansible/6.4.0: 28,126 files, 347.8MB ==> Running brew cleanup ansible... Removing: /usr/local/Cellar/ansible/6.3.0... (27,863 files, 345.9MB) Removing: /Users/mikael/Library/Caches/Homebrew/ansible--6.3.0... (51.9MB) ==> Upgrading consul 1.13.1 -> 1.13.2

==> Pouring consul--1.13.2.monterey.bottle.tar.gz ==> Caveats To restart consul after an upgrade: brew services restart consul Or, if you don't want/need a background service you can just run: /usr/local/opt/consul/bin/consul agent -dev -bind 127.0.0.1 ==> Summary 🍺 /usr/local/Cellar/consul/1.13.2: 9 files, 100.8MB ==> Running brew cleanup consul... Removing: /usr/local/Cellar/consul/1.13.1... (9 files, 100.5MB) Removing: /Users/mikael/Library/Caches/Homebrew/consul--1.13.1... (24.6MB) ==> Upgrading node 18.9.0 -> 18.10.0

==> Pouring node--18.10.0.monterey.bottle.tar.gz 2022-10-04 15:19:13.084 xcodebuild[57643:1528310] [MT] DVTPlugInLoading: Failed to load code for plug-in com.apple.dt.IDESimulatorAvailability (/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin), error = Error Domain=NSCocoaErrorDomain Code=3588 "dlopen(/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, 0x0109): Symbol not found: (_OBJCCLASS$_SimDiskImage) Referenced from: '/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability' Expected in: '/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator'" UserInfo={NSLocalizedFailureReason=The bundle couldn’t be loaded., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, NSDebugDescription=dlopen(/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, 0x0109): Symbol not found: (_OBJCCLASS$_SimDiskImage) Referenced from: '/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability' Expected in: '/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator', NSBundlePath=/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin, NSLocalizedDescription=The bundle “IDESimulatorAvailability” couldn’t be loaded.}, dyldError = dlopen(/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, 0x0000): Symbol not found: (_OBJCCLASS$_SimDiskImage) Referenced from: '/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability' Expected in: '/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator' 2022-10-04 15:19:13.147 xcodebuild[57643:1528310] [MT] DVTAssertions: ASSERTION FAILURE in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot2/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-21304/DVTFoundation/PlugInArchitecture/DataModel/DVTPlugIn.m:374 Details: Failed to load code for plug-in com.apple.dt.IDESimulatorAvailability (/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin) Please ensure Xcode packages are up-to-date — try running 'xcodebuild -runFirstLaunch'.

NSBundle error: Error Domain=NSCocoaErrorDomain Code=3588 "dlopen(/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, 0x0109): Symbol not found: (_OBJCCLASS$_SimDiskImage) Referenced from: '/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability' Expected in: '/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator'" UserInfo={NSLocalizedFailureReason=The bundle couldn’t be loaded., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, NSDebugDescription=dlopen(/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability, 0x0109): Symbol not found: (_OBJCCLASS$_SimDiskImage) Referenced from: '/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin/Contents/MacOS/IDESimulatorAvailability' Expected in: '/Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator', NSBundlePath=/Applications/Xcode.app/Contents/PlugIns/IDESimulatorAvailability.ideplugin, NSLocalizedDescription=The bundle “IDESimulatorAvailability” couldn’t be loaded.} Object: <DVTPlugIn: 0x60000077a1c0> Method: -loadAssertingOnError:error: Thread: <_NSMainThread: 0x60000231c440>{number = 1, name = main} Hints:

Backtrace: 0 0x000000010db32f61 1 0x000000010db32495 2 0x000000010db326a1 3 0x000000010d9a939a 4 0x000000010d964c52 5 0x000000010d9629fe 6 0x00007ff808e23317 7 0x00007ff808e307ee 8 0x000000010db81581 9 0x000000010db570b8 10 0x000000010d962882 11 0x000000010d962ad4 12 0x000000010ea47f66 13 0x000000010ea47526 14 0x000000010ea46919 15 0x000000010c3cf9a4 16 0x000000010c15220a sh: line 1: 57647 Abort trap: 6 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -find clang 2> /dev/null clang: error: sh -c '/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -find clang 2> /dev/null' failed with exit code 34304: (null) (errno=Invalid argument) xcode-select: Failed to locate 'clang', requesting installation of command line developer tools. 🍺 /usr/local/Cellar/node/18.10.0: 1,993 files, 49.7MB ==> Running brew cleanup node... Removing: /usr/local/Cellar/node/18.9.0... (1,997 files, 49.7MB) Removing: /Users/mikael/Library/Caches/Homebrew/node--18.9.0... (13.3MB) ==> Upgrading unbound 1.16.2 -> 1.16.3

==> Pouring unbound--1.16.3.monterey.bottle.tar.gz 🍺 /usr/local/Cellar/unbound/1.16.3: 58 files, 5.7MB ==> Running brew cleanup unbound... Removing: /usr/local/Cellar/unbound/1.16.2... (58 files, 5.7MB) Removing: /Users/mikael/Library/Caches/Homebrew/unbound--1.16.2... (2.8MB) ==> Upgrading git 2.37.3 -> 2.38.0

==> Pouring git--2.38.0.monterey.bottle.tar.gz ==> Caveats The Tcl/Tk GUIs (e.g. gitk, git-gui) are now in the git-gui formula. Subversion interoperability (git-svn) is now in the git-svn formula.

zsh completions and functions have been installed to: /usr/local/share/zsh/site-functions ==> Summary 🍺 /usr/local/Cellar/git/2.38.0: 1,592 files, 47.6MB ==> Running brew cleanup git... Removing: /usr/local/Cellar/git/2.37.3... (1,562 files, 44.6MB) Removing: /Users/mikael/Library/Caches/Homebrew/git--2.37.3... (16.1MB) ==> Upgrading vault 1.11.3 -> 1.11.4

==> Pouring vault--1.11.4.monterey.bottle.tar.gz ==> Caveats To restart vault after an upgrade: brew services restart vault Or, if you don't want/need a background service you can just run: /usr/local/opt/vault/bin/vault server -dev ==> Summary 🍺 /usr/local/Cellar/vault/1.11.4: 8 files, 187.4MB ==> Running brew cleanup vault... Removing: /usr/local/Cellar/vault/1.11.3... (8 files, 187.4MB) Removing: /Users/mikael/Library/Caches/Homebrew/vault--1.11.3... (73.2MB) ==> Upgrading gnutls 3.7.7 -> 3.7.8

==> Pouring gnutls--3.7.8.monterey.bottle.tar.gz 🍺 /usr/local/Cellar/gnutls/3.7.8: 1,288 files, 11MB ==> Running brew cleanup gnutls... Removing: /usr/local/Cellar/gnutls/3.7.7... (1,288 files, 11MB) Removing: /Users/mikael/Library/Caches/Homebrew/gnutls--3.7.7... (3MB) ==> Upgrading lima 0.11.3 -> 0.12.0

==> Installing dependencies for lima: capstone ==> Installing lima dependency: capstone ==> Pouring capstone--4.0.2.monterey.bottle.tar.gz 🍺 /usr/local/Cellar/capstone/4.0.2: 25 files, 14.6MB ==> Installing lima ==> Pouring lima--0.12.0.monterey.bottle.tar.gz ==> Caveats zsh completions have been installed to: /usr/local/share/zsh/site-functions ==> Summary 🍺 /usr/local/Cellar/lima/0.12.0: 62 files, 33.5MB ==> Running brew cleanup lima... Removing: /usr/local/Cellar/lima/0.11.3... (61 files, 32.6MB) Removing: /Users/mikael/Library/Caches/Homebrew/lima--0.11.3... (12.6MB) ==> Upgrading terraform 1.2.9 -> 1.3.1

==> Pouring terraform--1.3.1.monterey.bottle.tar.gz 🍺 /usr/local/Cellar/terraform/1.3.1: 6 files, 65MB ==> Running brew cleanup terraform... Removing: /usr/local/Cellar/terraform/1.2.9... (6 files, 67.4MB) Removing: /Users/mikael/Library/Caches/Homebrew/terraform--1.2.9... (20MB) ==> Upgrading postgresql@14 14.5_3 -> 14.5_5

==> Pouring postgresql@14--14.5_5.monterey.bottle.tar.gz ==> Caveats Previous versions of postgresql shared the same data directory.

You can migrate to a versioned data directory by running: mv -v "/usr/local/var/postgres" "/usr/local/var/postgresql@14"

(Make sure PostgreSQL is stopped before executing this command)

This formula has created a default database cluster with: initdb --locale=C -E UTF-8 /usr/local/var/postgres For more details, read: https://www.postgresql.org/docs/14/app-initdb.html

To restart postgresql@14 after an upgrade: brew services restart postgresql@14 Or, if you don't want/need a background service you can just run: /usr/local/opt/postgresql@14/bin/postgres -D /usr/local/var/postgres ==> Summary 🍺 /usr/local/Cellar/postgresql@14/14.5_5: 3,309 files, 44.4MB ==> Running brew cleanup postgresql@14... Removing: /usr/local/Cellar/postgresql@14/14.5_3... (3,309 files, 44.4MB) ==> Casks with 'auto_updates true' or 'version :latest' will not be upgraded; pass --greedy to upgrade them. ==> Upgrading 3 outdated packages: 1password-cli 2.7.0 -> 2.7.1 oracle-jdk 18.0.2.1 -> 19 vagrant 2.3.0 -> 2.3.1 ==> Upgrading 1password-cli ==> Downloading https://cache.agilebits.com/dist/1P/op2/pkg/v2.7.1/op_apple_universal_v2.7.1.pkg ######################################################################## 100.0% ==> Uninstalling packages; your password may be necessary: com.1password.op Password: ==> Running installer for 1password-cli; your password may be necessary. Package installers may write to any location; options such as --appdir are ignored. installer: Package name is op installer: Installing at base path / installer: The install was successful. ==> Purging files for version 2.7.0 of Cask 1password-cli 🍺 1password-cli was successfully upgraded! ==> Upgrading oracle-jdk ==> Caveats Installing oracle-jdk means you have AGREED to the license at: https://www.oracle.com/downloads/licenses/no-fee-license.html

==> Downloading https://download.oracle.com/java/19/archive/jdk-19_macos-x64_bin.dmg ######################################################################## 100.0% ==> Uninstalling packages; your password may be necessary: com.oracle.jdk-18.0.2.1 ==> Running installer for oracle-jdk; your password may be necessary. Package installers may write to any location; options such as --appdir are ignored. installer: Package name is JDK 19 installer: Installing at base path / installer: The install was successful. ==> Purging files for version 18.0.2.1 of Cask oracle-jdk 🍺 oracle-jdk was successfully upgraded! ==> Upgrading vagrant ==> Downloading https://releases.hashicorp.com/vagrant/2.3.1/vagrant_2.3.1_darwin_amd64.dmg ######################################################################## 100.0% ==> Running uninstall script uninstall.tool The following files and directories will be removed: /opt/vagrant /usr/local/bin/vagrant

Do you wish to uninstall Vagrant (Yes/No)? The uninstallation process requires administrative privileges because some of the installed files cannot be removed by a normal user. You may now be prompted for a password...

Successfully uninstalled Vagrant. Done. Press any key to exit. ==> Uninstalling packages; your password may be necessary: com.vagrant.vagrant ==> Running installer for vagrant; your password may be necessary. Package installers may write to any location; options such as --appdir are ignored. installer: Package name is Vagrant installer: Installing at base path / installer: The install was successful. ==> Purging files for version 2.3.0 of Cask vagrant 🍺 vagrant was successfully upgraded! ==> Caveats ==> postgresql@13 This formula has created a default database cluster with: initdb --locale=C -E UTF-8 /usr/local/var/postgresql@13 For more details, read: https://www.postgresql.org/docs/13/app-initdb.html

postgresql@13 is keg-only, which means it was not symlinked into /usr/local, because this is an alternate version of another formula.

If you need to have postgresql@13 first in your PATH, run: echo 'export PATH="/usr/local/opt/postgresql@13/bin:$PATH"' >> ~/.zshrc

For compilers to find postgresql@13 you may need to set: export LDFLAGS="-L/usr/local/opt/postgresql@13/lib" export CPPFLAGS="-I/usr/local/opt/postgresql@13/include"

To restart postgresql@13 after an upgrade: brew services restart postgresql@13 Or, if you don't want/need a background service you can just run: /usr/local/opt/postgresql@13/bin/postgres -D /usr/local/var/postgresql@13 ==> gh zsh completions have been installed to: /usr/local/share/zsh/site-functions ==> awscli The "examples" directory has been installed to: /usr/local/share/awscli/examples

zsh completions and functions have been installed to: /usr/local/share/zsh/site-functions ==> consul To restart consul after an upgrade: brew services restart consul Or, if you don't want/need a background service you can just run: /usr/local/opt/consul/bin/consul agent -dev -bind 127.0.0.1 ==> git The Tcl/Tk GUIs (e.g. gitk, git-gui) are now in the git-gui formula. Subversion interoperability (git-svn) is now in the git-svn formula.

zsh completions and functions have been installed to: /usr/local/share/zsh/site-functions ==> vault To restart vault after an upgrade: brew services restart vault Or, if you don't want/need a background service you can just run: /usr/local/opt/vault/bin/vault server -dev ==> lima zsh completions have been installed to: /usr/local/share/zsh/site-functions ==> postgresql@14 Previous versions of postgresql shared the same data directory.

You can migrate to a versioned data directory by running: mv -v "/usr/local/var/postgres" "/usr/local/var/postgresql@14"

(Make sure PostgreSQL is stopped before executing this command)

This formula has created a default database cluster with: initdb --locale=C -E UTF-8 /usr/local/var/postgres For more details, read: https://www.postgresql.org/docs/14/app-initdb.html

To restart postgresql@14 after an upgrade: brew services restart postgresql@14 Or, if you don't want/need a background service you can just run: /usr/local/opt/postgresql@14/bin/postgres -D /usr/local/var/postgres ==> oracle-jdk Installing oracle-jdk means you have AGREED to the license at: https://www.oracle.com/downloads/licenses/no-fee-license.html

What did you expect to happen?

Install without failure or error.

Step-by-step reproduction instructions (by running brew commands)

brew upgrade
brew doctor
brew config
carlocab commented 1 year ago

Looks like a dupe of #13863.

Try running xcodebuild -runFirstLaunch.

MikaelHashiCorp commented 1 year ago

Hi carlocab,

Yes, this ticket seems to be reporting on the same bug as #13863. I am trying out the suggestions listed in its comments.

I tried running xcodebuild -runFirstLaunch and errored out with invalid option:

❯ xcodebuild -runFirstLaunc
2022-10-05 08:42:05.116 xcodebuild[54805:2166805] Writing error result bundle to /var/folders/k9/y1xrzjgs5w17pp7vwl6cf6r40000gq/T/ResultBundle_2022-05-10_08-42-0005.xcresult
2022-10-05 08:42:05.119 xcodebuild[54805:2166805] Requested but did not find extension point with identifier Xcode.IDEFoundation.TypeRegistry
2022-10-05 08:42:06.155 xcodebuild[54805:2166805] Requested but did not find extension point with identifier Xcode.IDEFoundation.IDEResultKitSerializationConverter
xcodebuild: error: invalid option '-runFirstLaunc'

I tried suggestion: "launch Xcode.app first.". That ran some more installation, but errored out. I rebooted and launched Xcode.app again. It launched. I ran brew doctor and brew config:

❯ brew doctor
Your system is ready to brew.
❯ brew config
HOMEBREW_VERSION: 3.6.4
ORIGIN: https://github.com/Homebrew/brew
HEAD: 99682c5af3b48e7b37bf9c565781800153ee88fb
Last commit: 2 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 81d2ee7d3f4d193a62e67bea026445201699fd79
Core tap last commit: 18 hours ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 16
Homebrew Ruby: 2.6.8 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: 16-core 64-bit kabylake
Clang: 14.0.0 build 1400
Git: 2.38.0 => /usr/local/bin/git
Curl: 7.79.1 => /usr/bin/curl
macOS: 12.6-x86_64
CLT: 14.1.0.0.1.1663981106
Xcode: 14.0.1

Work Around

Opening Xcode, install components (iOS 16.0 & macOS 12.3), get error message (message went away before I could capture it), then reboot OS worked.

carlocab commented 1 year ago

I tried running xcodebuild -runFirstLaunch and errored out with invalid option:

❯ xcodebuild -runFirstLaunc
2022-10-05 08:42:05.116 xcodebuild[54805:2166805] Writing error result bundle to /var/folders/k9/y1xrzjgs5w17pp7vwl6cf6r40000gq/T/ResultBundle_2022-05-10_08-42-0005.xcresult
2022-10-05 08:42:05.119 xcodebuild[54805:2166805] Requested but did not find extension point with identifier Xcode.IDEFoundation.TypeRegistry
2022-10-05 08:42:06.155 xcodebuild[54805:2166805] Requested but did not find extension point with identifier Xcode.IDEFoundation.IDEResultKitSerializationConverter
xcodebuild: error: invalid option '-runFirstLaunc'

The command you ran has a typo:

xcodebuild -runFirstLaunc

You can see this in the error message returned by xcodebuild.

xcodebuild: error: invalid option '-runFirstLaunc'
carlocab commented 1 year ago

Duplicate of #13863