架构i386的重复符号 [英] duplicate symbols for architecture i386

查看:109
本文介绍了架构i386的重复符号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用GTL框架来使用谷歌GDrive。在将该框架导入我的应用程序多次失败后,我将GTL.xcodeproject中的所有文件复制到我的应用程序中。但我仍然得到下面提到的错误。我搜索了所有但没有找到重复的文件或任何东西。请在这里帮忙。

I am using GTL framework for using google GDrive. I copied all the files from the GTL.xcodeproject into my application after getting failed many times in importing that framework into my application. But still i am getting below mentioned error. I have searched all but found no duplicate files or anything. Please help here.

/Users/ashutoshb/Desktop/Screen Shot 2012-11-30 at 10.30.24 AM.png


Ld /Users/ashutoshb/Library/Developer/Xcode/DerivedData/MowWom-dmhxeapzkbnuniegdxmsvdgmodrw/Build/Products/Debug-iphonesimulator/MowWom.app/MowWom normal i386
cd /Users/ashutoshb/Mowwom/MowWomCode/Updated/MowWom
setenv IPHONEOS_DEPLOYMENT_TARGET 4.3
setenv 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/iPhoneSimulator6.0.sdk -L/Users/ashutoshb/Library/Developer/Xcode/DerivedData/MowWom-dmhxeapzkbnuniegdxmsvdgmodrw/Build/Products/Debug-iphonesimulator "-L/Users/ashutoshb/Mowwom/MowWomCode/Updated/MowWom/MowWom/Twitter+OAuth/Libraries & Headers" -L/Users/ashutoshb/Mowwom/MowWomCode/Updated/MowWom -  F/Users/ashutoshb/Library/Developer/Xcode/DerivedData/MowWom- dmhxeapzkbnuniegdxmsvdgmodrw/Build/Products/Debug-iphonesimulator -  F/Applications/Xcode.app/Contents/Developer/Library/Frameworks - F/Users/ashutoshb/Mowwom/MowWomCode/Updated/MowWom -filelist  /Users/ashutoshb/Library/Developer/Xcode/DerivedData/MowWom- dmhxeapzkbnuniegdxmsvdgmodrw/Build/Intermediates/MowWom.build/Debug- iphonesimulator/MowWom.build/Objects-normal/i386/MowWom.LinkFileList -Xlinker - objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=4.3 -framework SenTestingKit -framework Security -framework MessageUI -lxml2 -lz -framework CFNetwork -framework MobileCoreServices -framework SystemConfiguration -framework CoreLocation -framework MapKit -framework QuartzCore -framework UIKit -framework Foundation -framework CoreGraphics -lOAuth -o /Users/ashutoshb/Library/Developer/Xcode/DerivedData/MowWom-dmhxeapzkbnuniegdxmsvdgmodrw/Build/Products/Debug-iphonesimulator/MowWom.app/MowWom


duplicate symbol _OBJC_CLASS_$_GTLDriveAboutAdditionalRoleInfoItem in:
/Users/ashutoshb/Library/Developer/Xcode/DerivedData/MowWom-dmhxeapzkbnuniegdxmsvdgmodrw/Build/Intermediates/MowWom.build/Debug-iphonesimulator/MowWom.build/Objects-normal/i386/GTLDrive_Sources.o
/Users/ashutoshb/Library/Developer/Xcode/DerivedData/MowWom-dmhxeapzkbnuniegdxmsvdgmodrw/Build/Intermediates/MowWom.build/Debug-iphonesimulator/MowWom.build/Objects-normal/i386/GTLDriveAbout.o

duplicate symbol _OBJC_METACLASS_$_GTLDriveAboutAdditionalRoleInfoItem in:
/Users/ashutoshb/Library/Developer/Xcode/DerivedData/MowWom-dmhxeapzkbnuniegdxmsvdgmodrw/Build/Intermediates/MowWom.build/Debug-iphonesimulator/MowWom.build/Objects-normal/i386/GTLDrive_Sources.o
/Users/ashutoshb/Library/Developer/Xcode/DerivedData/MowWom-dmhxeapzkbnuniegdxmsvdgmodrw/Build/Intermediates/MowWom.build/Debug-iphonesimulator/MowWom.build/Objects-normal/i386/GTLDriveAbout.o

duplicate symbol _OBJC_CLASS_$_GTLDriveAboutExportFormatsItem in:
/Users/ashutoshb/Library/Developer/Xcode/DerivedData/MowWom-dmhxeapzkbnuniegdxmsvdgmodrw/Build/Intermediates/MowWom.build/Debug-iphonesimulator/MowWom.build/Objects-normal/i386/GTLDrive_Sources.o
/Users/ashutoshb/Library/Developer/Xcode/DerivedData/MowWom-dmhxeapzkbnuniegdxmsvdgmodrw/Build/Intermediates/MowWom.build/Debug-iphonesimulator/MowWom.build/Objects-normal/i386/GTLDriveAbout.o

duplicate symbol _OBJC_METACLASS_$_GTLDriveAboutExportFormatsItem in:
/Users/ashutoshb/Library/Developer/Xcode/DerivedData/MowWom-dmhxeapzkbnuniegdxmsvdgmodrw/Build/Intermediates/MowWom.build/Debug-iphonesimulator/MowWom.build/Objects-normal/i386/GTLDrive_Sources.o
/Users/ashutoshb/Library/Developer/Xcode/DerivedData/MowWom-dmhxeapzkbnuniegdxmsvdgmodrw/Build/Intermediates/MowWom.build/Debug-iphonesimulator/MowWom.build/Objects-normal/i386/GTLDriveAbout.o

duplicate symbol _OBJC_CLASS_$_GTLDriveAboutFeaturesItem in:
/Users/ashutoshb/Library/Developer/Xcode/DerivedData/MowWom-dmhxeapzkbnuniegdxmsvdgmodrw/Build/Intermediates/MowWom.build/Debug-iphonesimulator/MowWom.build/Objects-normal/i386/GTLDrive_Sources.o
/Users/ashutoshb/Library/Developer/Xcode/DerivedData/MowWom-dmhxeapzkbnuniegdxmsvdgmodrw/Build/Intermediates/MowWom.build/Debug-iphonesimulator/MowWom.build/Objects-normal/i386/GTLDriveAbout.o

duplicate symbol _OBJC_METACLASS_$_GTLDriveAboutFeaturesItem in:
/Users/ashutoshb/Library/Developer/Xcode/DerivedData/MowWom-dmhxeapzkbnuniegdxmsvdgmodrw/Build/Intermediates/MowWom.build/Debug-iphonesimulator/MowWom.build/Objects-normal/i386/GTLDrive_Sources.o
/Users/ashutoshb/Library/Developer/Xcode/DerivedData/MowWom-dmhxeapzkbnuniegdxmsvdgmodrw/Build/Intermediates/MowWom.build/Debug-iphonesimulator/MowWom.build/Objects-normal/i386/GTLDriveAbout.o

duplicate symbol _OBJC_CLASS_$_GTLDriveAboutImportFormatsItem in:
/Users/ashutoshb/Library/Developer/Xcode/DerivedData/MowWom-dmhxeapzkbnuniegdxmsvdgmodrw/Build/Intermediates/MowWom.build/Debug-iphonesimulator/MowWom.build/Objects-normal/i386/GTLDrive_Sources.o
/Users/ashutoshb/Library/Developer/Xcode/DerivedData/MowWom-dmhxeapzkbnuniegdxmsvdgmodrw/Build/Intermediates/MowWom.build/Debug-iphonesimulator/MowWom.build/Objects-normal/i386/GTLDriveAbout.o

duplicate symbol _OBJC_METACLASS_$_GTLDriveAboutImportFormatsItem in:


推荐答案

确保您也检查构建阶段部分中的编译源。有时他们会在那里加倍(但在项目文件浏览器中只出现一次)

Make sure you check the "Compile Sources" in your "Build Phases" section as well. Sometimes they get doubled in there (but appear only once in the project file explorer)

这篇关于架构i386的重复符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆