在xcode中构建项目时遇到此错误

时间:2015-06-11 09:47:24

标签: objective-c xcode ipad ios-simulator

在xcode中构建项目时遇到此错误

warning: unable to merge a subprocess's serialized diagnostics
error: unable to open output file '/Users/s-09/Library/Developer/Xcode/DerivedData/ls-cujvtldtpxrezhdhbujnmfcrntjl/Build/Intermediates/CordovaLib.build/Debug-iphoneos/CordovaLib.build/Objects-normal/armv7/CDVPluginResult.o': 'Error opening output file '/Users/s-09/Library/Developer/Xcode/DerivedData/ls-cujvtldtpxrezhdhbujnmfcrntjl/Build/Intermediates/CordovaLib.build/Debug-iphoneos/CordovaLib.build/Objects-normal/armv7/CDVPluginResult.o': Input/output error'

Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1

2 个答案:

答案 0 :(得分:1)

我也遇到过这个问题。我关闭了,重启了Xcode;从设备中删除了应用程序并重新安装它,然后问题就消失了。 确保库和项目文件真正包含在内,如果它不包括在这种类型的情况下显示为红色,有时它在原始文件夹而不在项目中,所以删除它并重新添加。

答案 1 :(得分:0)

清理/ DerivedData使其正常工作

  

Can I safely delete contents of Xcode Derived data folder?