我将我的xcode更新到版本8.2.1 当我在xcode上构建产品时,发生了以下错误:
和我的主要故事板如下:
[![故事板] [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中:/ 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/Build/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 -Xlinke r -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-brvuxcfxdgdryzefaivvhtzorpiy/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查看调用)
答案 0 :(得分:2)
我删除了xcode 从应用商店再次安装,每件事都没事
答案 1 :(得分:1)
我按照Xcode 8.3.3中的以下步骤解决了这个错误,