8

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

/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:
4

2 回答 2

30

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

于 2012-11-30T05:32:00.353 回答
1

尝试从您的项目位置删除所有文件/文件夹,并从 XCode 项目中删除引用。

然后,将库文件夹复制到项目位置,在 XCode 中,单击“添加文件...”并选择项目位置中新添加的文件夹。

于 2012-11-30T05:24:10.933 回答