Error can't open UE5 because of this error

Hello Everyone,

I’m having some major issue not being able to open my UE5 because of this error message. Just wondering if anyone else had this same problem?

Xcode Metal Compiler error: 2022-09-14 13:46:53.395 xcodebuild[7514:147834] [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-09-14 13:46:53.463 xcodebuild[7514:147834] [MT] DVTAssertions: ASSERTION FAILURE in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot2/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-21303/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: 0x600002594f00>

Method: -loadAssertingOnError:error:

Thread: <_NSMainThread: 0x6000001c0000>{number = 1, name = main}

Hints:

Backtrace:

0 0x000000010b550f81

1 0x000000010b5504b5

2 0x000000010b5506c1

3 0x000000010b3c73ba

4 0x000000010b382c73

5 0x000000010b380a1f

6 0x00007ff805244317

7 0x00007ff8052517ee

8 0x000000010b59f5a1

9 0x000000010b5750d8

10 0x000000010b3808a3

11 0x000000010b380af5

12 0x000000010c465f66

Not sure what to do.

Thanks,
Ronin

So I’m having a similar issue, and I’m not a UE5 developer at all. I just happened to find this page that you posted 2 hours ago, as it seems we’re the first ones to start reporting this issue.

It happens whenever I try to “brew {update,uninstall,install}”, and even when I simply run clang -v, lol. It keeps telling me to update my Xcode Developer Tools, and when I do, the issue persists, and it tells me to update again. All of four my Macs are abruptly doing this. I’m suspicious that Apple may have screwed something up with the latest macOS 15.6 and/or Xcode developer tools they’ve pushed out.

Edit: Just before hitting “send” on this reply, I noticed that buried within both of our error messages is:

Please ensure Xcode packages are up-to-date — try running xcodebuild -runFirstLaunch

Open Terminal and do that. It fixed my problem. :slight_smile: :+1:

Cheers!




I’ll leave my stack trace and error message below, in case it should help more web searchers find this solution:

❯ brew update
Updated 2 taps (homebrew/core and homebrew/cask).
2022-09-14 06:41:45.916 xcodebuild[42182:344339] [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-09-14 06:41:45.941 xcodebuild[42182:344339] [MT] DVTAssertions: ASSERTION FAILURE in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot2/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-21303/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: 0x600003da4320>
Method:   -loadAssertingOnError:error:
Thread:   <_NSMainThread: 0x6000019f0280>{number = 1, name = main}
Hints:

Backtrace:
  0  0x0000000101f09410
  1  0x0000000101f08aec
  2  0x0000000101f08c6c
  3  0x0000000101db72ac
  4  0x0000000101d7d118
  5  0x0000000101d7b528
  6  0x000000018fdfc1b4
  7  0x000000018fe0b414
  8  0x0000000101f4d58c
  9  0x0000000101f294b0
 10  0x0000000101d7b3c0
 11  0x0000000101d7b5e0
 12  0x0000000102e3f2ec
 13  0x0000000102e3eae0
 14  0x0000000102e3e1e8
 15  0x00000001007dc324
 16  0x00000001003b5e0c
sh: line 1: 42184 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.
13 Likes

Hi thanks for that. I seemed to managed to get it to work by doing that. Really appreciate it.

1 Like

Incredible that I found this post right when I stumbled on this problem. Had the same issue where all my IDEs, CLI and git client were broken or complaining. Can confirm that this works. Had to login just to show my appreciation. Cheers!

2 Likes

Just logged in as well to say thank you. Running xcodebuild -runFirstLaunch fixed it for me as well.

3 Likes

Thank you! Running xcodebuild -runFirstLaunch fixed it for me as well.

2 Likes

thanks bro, i fixed it in one minute.

1 Like

Thanks for it. It works

1 Like

Had the same issue in my IDEs, CLI and also my installed git. Been stuck, and thankyou for saving my day. Just signed up to say thanks a lot.

1 Like

Thanks!!! works perfectly

1 Like

Thanks! it worked!

1 Like

I ran into the same problem since a few days ago but didn’t have time to really look into it. This morning I really needed my Unreal Engine and it wouldn’t, I updated my xcode, uninstalle Epic Game launcher and reinstalled it, nothing worked, I thought as well Apply might have messed up something in their M1 chp, coz UE4 worked well on my old Intel Macbook. Then I copy-n-pasted the error message into the search bar, I got this answer, did it and now the engine is launching.

Have to thank you for this answer. And I learned that I need to read the error message next time.

1 Like

Anyone have this issue on a Windows PC?

Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp] [Line: 8616] Failed to compile global shader FDownsampleDepthPS . Enable ‘r.ShaderDevelopmentMode’ in ConsoleVariables.ini for retries.