skip to Main Content

When opening Xcode I get a popup with the following error:

Loading a plug-in failed.

The plug-in “com.apple.dt.PreviewsXcode” at path “/Applications/Xcode_14_2.app/Contents/PlugIns/PreviewsXcode.framework” could not be loaded. The plug-in or one of its prerequisite plug-ins may be missing or damaged.
The plug-in or one of its prerequisite plug-ins may be missing or damaged and may need to be reinstalled.

There is a more detailed error message:

dlopen(/Applications/Xcode_14_2.app/Contents/PlugIns/PreviewsXcode.framework/PreviewsXcode, 0x0109): Symbol not found: _$s9ChronoKit34WidgetPreviewHostingViewControllerCMn
Referenced from: /Applications/Xcode_14_2.app/Contents/PlugIns/PreviewsXcode.framework/Versions/A/PreviewsXcode
Expected in: /System/Library/PrivateFrameworks/ChronoKit.framework/Versions/A/ChronoKit

I am using Xcode 14.2 on macOS 14.1.1 on an Apple Silicon computer.
In order to be able to use this outdated Xcode version I need to start Xcode from the command line like this:

/Applications/Xcode_14_2.app/Contents/MacOS/Xcode ; exit;

The same procedure is working on some colleagues’ machine so I don’t believe it is related.

2

Answers


  1. Have you tried simply reinstalling or upgrading Xcode. Also that looks like an old version of Xcode compared to macOS. Why not just update them to the newest version.

    Login or Signup to reply.
  2. Expected in:
    /System/Library/PrivateFrameworks/ChronoKit.framework/Versions/A/ChronoKit

    basically says that stuff inside the system libraries is messed up. Maybe updating or reinstalling macOS will do the job if Xcode wants the thing from the System but can’t really get it.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search