1
導入Google Drive SDK以及Google Objective-C客戶端API時出現以下錯誤。我使用帶有Swift的iOS 8.1的Xcode 6.1作爲我的主要語言。我已經遵循Google Drive SDK頁面中的所有步驟,但仍然無法正常工作。有鏈接器錯誤,我不知道如何解決這個問題。有想法該怎麼解決這個嗎?錯誤在Xcode 6.1中使用Google API Objective-C客戶端導入Google Drive SDK
ld: warning: directory not found for option '-L/Users/salmanhasratkhan/Documents/Projects/xy/Project Shutter/iOS/Project Shutter copy/google-api-objectivec-client-read-only/Source/build/Debug-iphoneos'
ld: warning: ignoring file /Users/salmanhasratkhan/Library/Developer/Xcode/DerivedData/Project_Shutter-bcpwuavdfcgeemfbwlffsfjqczvo/Build/Products/Debug-iphoneos/libGTLTouchStaticLib.a, file was built for archive which is not the architecture being linked (arm64): /Users/salmanhasratkhan/Library/Developer/Xcode/DerivedData/Project_Shutter-bcpwuavdfcgeemfbwlffsfjqczvo/Build/Products/Debug-iphoneos/libGTLTouchStaticLib.a
Undefined symbols for architecture arm64:
"_OBJC_METACLASS_$_GTLService", referenced from:
_OBJC_METACLASS_$_GTLServiceDrive in GTLDrive_Sources.o
(maybe you meant: _OBJC_METACLASS_$_GTLServiceDrive)
"_OBJC_CLASS_$_GTLService", referenced from:
_OBJC_CLASS_$_GTLServiceDrive in GTLDrive_Sources.o
(maybe you meant: _OBJC_CLASS_$_GTLServiceDrive)
"_OBJC_METACLASS_$_GTLObject", referenced from:
_OBJC_METACLASS_$_GTLDriveAbout in GTLDrive_Sources.o
_OBJC_METACLASS_$_GTLDriveAboutAdditionalRoleInfoItem in GTLDrive_Sources.o
_OBJC_METACLASS_$_GTLDriveAboutExportFormatsItem in GTLDrive_Sources.o
_OBJC_METACLASS_$_GTLDriveAboutFeaturesItem in GTLDrive_Sources.o
_OBJC_METACLASS_$_GTLDriveAboutImportFormatsItem in GTLDrive_Sources.o
_OBJC_METACLASS_$_GTLDriveAboutMaxUploadSizesItem in GTLDrive_Sources.o
_OBJC_METACLASS_$_GTLDriveAboutQuotaBytesByServiceItem in GTLDrive_Sources.o
...
"_OBJC_METACLASS_$_GTLQuery", referenced from:
_OBJC_METACLASS_$_GTLQueryDrive in GTLDrive_Sources.o
(maybe you meant: _OBJC_METACLASS_$_GTLQueryDrive)
"_OBJC_CLASS_$_GTLObject", referenced from:
_OBJC_CLASS_$_GTLDriveAboutAdditionalRoleInfoItem in GTLDrive_Sources.o
_OBJC_CLASS_$_GTLDriveAboutExportFormatsItem in GTLDrive_Sources.o
_OBJC_CLASS_$_GTLDriveAboutFeaturesItem in GTLDrive_Sources.o
_OBJC_CLASS_$_GTLDriveAboutImportFormatsItem in GTLDrive_Sources.o
_OBJC_CLASS_$_GTLDriveAboutMaxUploadSizesItem in GTLDrive_Sources.o
_OBJC_CLASS_$_GTLDriveAboutQuotaBytesByServiceItem in GTLDrive_Sources.o
_OBJC_CLASS_$_GTLDriveAbout in GTLDrive_Sources.o
...
"_OBJC_METACLASS_$_GTLCollectionObject", referenced from:
_OBJC_METACLASS_$_GTLDriveAppList in GTLDrive_Sources.o
_OBJC_METACLASS_$_GTLDriveChangeList in GTLDrive_Sources.o
_OBJC_METACLASS_$_GTLDriveChildList in GTLDrive_Sources.o
_OBJC_METACLASS_$_GTLDriveCommentList in GTLDrive_Sources.o
_OBJC_METACLASS_$_GTLDriveCommentReplyList in GTLDrive_Sources.o
_OBJC_METACLASS_$_GTLDriveFileList in GTLDrive_Sources.o
_OBJC_METACLASS_$_GTLDriveParentList in GTLDrive_Sources.o
...
"_OBJC_CLASS_$_GTLQuery", referenced from:
_OBJC_CLASS_$_GTLQueryDrive in GTLDrive_Sources.o
(maybe you meant: _OBJC_CLASS_$_GTLQueryDrive)
"_OBJC_CLASS_$_GTLCollectionObject", referenced from:
_OBJC_CLASS_$_GTLDriveAppList in GTLDrive_Sources.o
_OBJC_CLASS_$_GTLDriveChangeList in GTLDrive_Sources.o
_OBJC_CLASS_$_GTLDriveChildList in GTLDrive_Sources.o
_OBJC_CLASS_$_GTLDriveCommentList in GTLDrive_Sources.o
_OBJC_CLASS_$_GTLDriveCommentReplyList in GTLDrive_Sources.o
_OBJC_CLASS_$_GTLDriveFileList in GTLDrive_Sources.o
_OBJC_CLASS_$_GTLDriveParentList in GTLDrive_Sources.o
...
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)