ios - 命令 CompileXIB 失败,退出代码非零

标签 ios swift xcode

我在使用 Xcode 构建 ios 应用程序时遇到问题。在构建项目之前,这一切进展顺利。我不知道为什么它在错误消息中显得有些奇怪。实际上我的代码没有任何问题。

错误信息看起来像这样:

The error message

CompileXIB /Users/saiful/Documents/test-ios/test/test/Base.lproj/RoomResultTableViewCell.xib (in target: test) cd /Users/saiful/Documents/test-ios/test export XCODE_DEVELOPER_USR_PATH=/Applications/Xcode.app/Contents/Developer/usr/bin/.. /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --errors --warnings --notices --module test --output-partial-info-plist /Users/saiful/Library/Developer/Xcode/DerivedData/test-bgtolzqqziiyvkfqjgwogitynwsj/Build/Intermediates.noindex/test.build/Debug-iphonesimulator/test.build/Base.lproj/RoomResultTableViewCell-PartialInfo.plist --auto-activate-custom-fonts --target-device iphone --minimum-deployment-target 9.0 --output-format human-readable-text --compile /Users/saiful/Library/Developer/Xcode/DerivedData/test-bgtolzqqziiyvkfqjgwogitynwsj/Build/Products/Debug-iphonesimulator/test.app/Base.lproj/RoomResultTableViewCell.nib /Users/saiful/Documents/test-ios/test/test/Base.lproj/RoomResultTableViewCell.xib

但是当我尝试再次构建时,错误消息将抛出其他 XIB 或 Storyboard名称。

我已经尝试过清理和重建。此外,删除派生数据并重新打开我的 Xcode。 Anw 我正在为我的项目使用 git。当我搬到另一个分支机构时,是否遗漏了什么?

最佳答案

单击属性检查器的第一个选项卡。 滚动到界面构建器文档部分。 从下拉列表中尝试从 Opens in 下拉列表中更改 Xcode 版本。

enter image description here

关于ios - 命令 CompileXIB 失败,退出代码非零,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57198005/

相关文章:

android - 离开页面时如何停止在 initState 中启动的 Timer.periodic

ios - 快速加载 View 后自定义自定义键盘高度

ios - 如何在 SwiftUI 中的 ForEach 中嵌入的 HStack 中设置相对宽度?

ios - 从 Swift 中的外部类发送数据。音乐应用程序

ios - 从 Swift 3 中的字节数组中读取值

iphone - 如何在按下按钮时动态更新 UITableView?

ios - 构建到 64 位时 phonegap cordova xcode 链接失败

ios - Apple Wallet Pass 的 maxDistance 的最大值是多少

ios - Swift 4 添加手势 : override vs @objc

objective-c - Collection View 布局