首页 文章

构建xcode项目时,界面生成器Storyboard编译器错误

提问于
浏览
3

我将我的xcode更新到版本8.2.1,当我在xcode上构建产品时,发生了以下错误:

error

我的主要故事板是这样的:

[![情节提要] [2] [2]

我搜索了很多次但没有找到任何正确的解决方案

有人可以帮帮我吗?

Edit1:当我在xcode上创建新项目时,发生了以下错误:

Ld /Users//Library/Developer/Xcode/DerivedData/test3-brvuxcfxdgdryzefaivvhtzorpiy/Build/Products/Debug-iphonesimulator/test3.app/test3 normal x86_64 cd / Users / **** / Desktop / test3 export IPHONEOS_DEPLOYMENT_TARGET = 10.2 export PATH =“/ Applications / Xcode.app / Contents / Developer / Platforms / iPhoneSimulator.platform / Developer / usr / bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/ usr / local / bin:/ usr / bin:/ bin:/ usr / sbin:/ sbin“/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot / Applications / Xcode . app / Contents / Developer / Platforms / iPhoneSimulator.platform / Developer / SDKs / iPhoneSimulator10.2.sdk -L / Users / **** / Library / Developer / Xcode / DerivedData / test3-brvuxcfxdgdryzefaivvhtzorpiy / Build / Products / Debug-iphonesimulator -F / Users / **** / Library / Developer / Xcode / DerivedData / test3-brvuxcfxdgdryzefaivvhtzorpiy / Build / Products / Debug-iphonesimulator -filelist / Users / **** / Library / Developer / Xcode / DerivedData / test3-brvuxcfxdgdryzefaivvhtzorpiy / B uild / Intermediates / test3.build / Debug-iphonesimulator / test3.build / Objects-normal / x86_64 / test3.LinkFileList -Xlinker -rpath -Xlinker @ executable_path / Frameworks -mios-simulator-version-min = 10.2 -dead_strip -Xlinker - object_path_lto -Xlinker /Users//Library/Developer/Xcode/DerivedData/test3-brvuxcfxdgdryzefaivvhtzorpiy/Build/Intermediates/test3.build/Debug-iphonesimulator/test3.build/Objects-normal/x86_64/test3_lto.o-Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-link-runtime -L / Applications / Xcode.app / Contents / Developer / Toolchains / XcodeDefault.xctoolchain / usr / lib / swift / iphonesimulator -Xlinker -add_ast_path - Xlinker /Users/****/Library/Developer/Xcode/DerivedData/test3-brvuxcfxdgdryzefaivvhtzorpiy/Build/Intermediates/test3.build/Debug-iphonesimulator/test3.build/Objects-normal/x86_64/test3.swiftmodule -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker / Users / **** / Library / Developer / Xcode / DerivedData / test3-brvuxcfxdgdryz efaivvhtzorpiy / Build / Intermediates / test3.build / Debug-iphonesimulator / test3.build / test3.app.xcent -Xlinker -dependency_info -Xlinker / Users / **** / Library / Developer / Xcode / DerivedData / test3-brvuxcfxdgdryzefaivvhtzorpiy / Build /Intermediates/test3.build/Debug-iphonesimulator/test3.build/Objects-normal/x86_64/test3_dependency_info.dat -o / Users / **** / Library / Developer / Xcode / DerivedData / test3-brvuxcfxdgdryzefaivvhtzorpiy / Build / Products / Debug-iphonesimulator / test3.app / test3 ld:找不到框架基础clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)

new project error

2 回答

  • 1

    我从应用程序商店再次删除xcode安装,一切都很好

  • 2

    我按照Xcode 8.3.3中的以下步骤解决了这个错误,

    • 退出Xcode

    • 清除Xcode的派生数据文件夹

    • 重新启动Xcode

    • 再次清理并运行项目

相关问题