Xcode 7无法在运行OS X 10.10.5的Mac上打开.将打开一个对话框,说明“加载插件失败”.从命令行启动Xcode输出以下内容:
2015-09-20 23:39:36.616 Xcode[1511:58710] [MT] DVTPlugInLoading:
Failed to load code for plug-in com.apple.dt.IDE.IDEiOSSupportCore
(/Applications/Xcode.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin),
error = Error Domain=NSCocoaErrorDomain Code=3587 “The bundle
“IDEiOSSupportCore” couldn’t be loaded because it is damaged or
missing necessary resources.”
(dlopen_preflight(/Applications/Xcode.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin/Contents/MacOS/IDEiOSSupportCore):
Library not loaded:
/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice
重新安装iTunes修复了此问题.
Download the latest iTunes version,安装它,Xcode应按预期打开.