【问题标题】:facing this error while building a project in xcode在 xcode 中构建项目时遇到此错误
【发布时间】:2015-08-26 22:31:06
【问题描述】:

在 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

【问题讨论】:

  • 尝试删除您的 /DerivedData,清理并重建您的项目。

标签: objective-c xcode ipad ios-simulator


【解决方案1】:

我也遇到过这个问题。我已经关闭并重新启动了 Xcode;从设备中删除应用程序并重新安装,然后问题就消失了。 确保确实包含库和项目文件,如果不包含,则在这种情况下,有时它会在原始文件夹中而不是项目中显示为红色,因此请删除并重新添加。

【讨论】:

  • 我试过了,它没有用,但是清理 dervieddata 文件夹就像轻而易举。
【解决方案2】:

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2021-11-26
    • 1970-01-01
    • 1970-01-01
    • 2020-08-18
    • 1970-01-01
    • 2013-03-17
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多