我在运行 Xcode 9.2 时遇到问题。我刚刚提取了 Xcode.xip 文件,当尝试启动 Xcode 时,它说:
Loading a plug-in failed.
The plug-in or one of its prerequisite plug-ins may be missing or damaged and may need to be reinstalled.
这是日志:
Shared framework ModelIO.framework not loaded, error: Error Domain=NSCocoaErrorDomain Code=4 "The bundle “ModelIO.framework” couldn’t be loaded because its executable couldn’t be located." UserInfo={NSLocalizedFailureReason=The bundle’s executable couldn’t be located., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSBundlePath=/Users/amirrezazadeh/Desktop/Xcode.app/Contents/SharedFrameworks/ModelIO.framework, NSLocalizedDescription=The bundle “ModelIO.framework” couldn’t be loaded because its executable couldn’t be located.}
Shared framework SceneKit.framework not loaded, error: Error Domain=NSCocoaErrorDomain Code=4 "The bundle “SceneKit.framework” couldn’t be loaded because its executable couldn’t be located." UserInfo={NSLocalizedFailureReason=The bundle’s executable couldn’t be located., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSBundlePath=/Users/amirrezazadeh/Desktop/Xcode.app/Contents/SharedFrameworks/SceneKit.framework, NSLocalizedDescription=The bundle “SceneKit.framework” couldn’t be loaded because its executable couldn’t be located.}
Shared framework PhysicsKit.framework not loaded, error: Error Domain=NSCocoaErrorDomain Code=4 "The bundle “PhysicsKit.framework” couldn’t be loaded because its executable couldn’t be located." UserInfo={NSLocalizedFailureReason=The bundle’s executable couldn’t be located., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSBundlePath=/Users/amirrezazadeh/Desktop/Xcode.app/Contents/SharedFrameworks/PhysicsKit.framework, NSLocalizedDescription=The bundle “PhysicsKit.framework” couldn’t be loaded because its executable couldn’t be located.}
还有更多...!
最佳答案
已解决。我在 vmware 上运行 MacOs 并尝试在共享文件夹下提取 Xcode.xip 文件。我只是将 Xcode.xip 移动到 guest 计算机 (MacOs) 并提取它并且它可以工作。
我想这与权限或 Xcode.xip 文件路径长度有关。
关于ios - Xcode 9.2 无法启动 : Loading a plug-in failed,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50871121/