Ld /Users/Sergio/Library/Developer/Xcode/DerivedData/Test111-gnlasierruehmngkenyhntisfyrn/Build/Products/Debug-iphonesimulator/Test111.app/Test111 normal i386 cd / Users / Sergio / Projects / Test111 export IPHONEOS_DEPLOYMENT_TARGET = 7.1 export PATH =" /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/ usr / bin: / bin中:/ usr / sbin目录:/ sbin目录" /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7。 1.sdk -L / Users / Sergio / Library / Developer / Xcode / DerivedData / Test111-gnlasierruehmngkenyhntisfyrn / Build / Products / Debug-iphonesimulator -F / Users / Sergio / Library / Developer / Xcode / DerivedData / Test111-gnlasierruehmngkenyhntisfyrn / Build / Products / Debug-iphonesimulator -filelist /Users/Sergio/Library/Developer/Xcode/DerivedData/Test111-gnlasierruehmngkenyhntisfyrn/Build/Intermediates/Test111.build/Debug-iphonesimulator/Test111.build/Objects-normal/i386/Test111.LinkFileList - Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min = 7.1 -framework CoreLocation -framework MapKit -framework CoreGraphics -framework UIKit -framework Foundation -Xlinker -dependency_info - Xlinker / Users / Sergio / Library / Developer / Xcode / De rivedData / Test111-gnlasierruehmngkenyhntisfyrn / Build / Intermediates / Test111.build / Debug-iphonesimulator / Test111.build / Objects-normal / i386 / Test111_dependency_info.dat -o / Users / Sergio / Library / Developer / Xcode / DerivedData / Test111-gnlasierruehmngkenyhntisfyrn /建立/产品/调试-iphonesimulator / Test111.app / Test111
复制符号_spacing: /Users/Sergio/Library/Developer/Xcode/DerivedData/Test111-gnlasierruehmngkenyhntisfyrn/Build/Intermediates/Test111.build/Debug-iphonesimulator/Test111.build/Objects-normal/i386/ChatViewController.o /Users/Sergio/Library/Developer/Xcode/DerivedData/Test111-gnlasierruehmngkenyhntisfyrn/Build/Intermediates/Test111.build/Debug-iphonesimulator/Test111.build/Objects-normal/i386/AllMessagesViewController.o ld:1个用于体系结构i386的重复符号 clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)
我可以做些什么来恢复所有东西?
答案 0 :(得分:0)
也许您可以尝试删除与项目相关的DerivedData文件夹。
打开终端,然后输入:
rm -Rf ~/Library/Developer/Xcode/DerivedData/Test111-gnlasierruehmngkenyhntisfyrn
之后,重建您的项目并重试。
答案 1 :(得分:0)
好的,我已经自己想出来了。从错误日志中可以看到两个文件 - ChatViewController.m和AllMessagesViewController.m存在一些问题。有些东西搞乱了#34;间距"故事板文件被删除时的变量。所以我刚刚删除了一个冲突的文件并重建了项目。
学习阅读日志。