我正在做一个读取器应用程序,它可以将文本同步到googledoc,我得到了工作示例代码的文本同步到googledoc,但我把所有的代码放到我的项目中,除了委托代码,我得到这个错误,架构i386的未定义符号:iphone中的错误
Ld /Users/admin/Library/Developer/Xcode/DerivedData/ELTouchBible-eqhoridwhfpkcvddemynmhjrvyor/Build/Products/Release-iphonesimulator/Bible.app/Bible normal i386
cd "/Users/admin/Desktop/bible day updates/ELTouchBiblelatest3 doingggg copy 11"
setenv MACOSX_DEPLOYMENT_TARGET 10.6
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk -L/Users/admin/Library/Developer/Xcode/DerivedData/ELTouchBible-eqhoridwhfpkcvddemynmhjrvyor/Build/Products/Release-iphonesimulator "-L/Users/admin/Desktop/bible day updates/ELTouchBiblelatest3 doingggg copy 11/Classes" -F/Users/admin/Library/Developer/Xcode/DerivedData/ELTouchBible-eqhoridwhfpkcvddemynmhjrvyor/Build/Products/Release-iphonesimulator -filelist /Users/admin/Library/Developer/Xcode/DerivedData/ELTouchBible-eqhoridwhfpkcvddemynmhjrvyor/Build/Intermediates/ELTouchBible.build/Release-iphonesimulator/Bible.build/Objects-normal/i386/Bible.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -framework Foundation -framework UIKit -lxml2 -lsqlite3.0 -framework CoreData -framework CoreGraphics -framework MessageUI -framework QuartzCore -lOAuth -o /Users/admin/Library/Developer/Xcode/DerivedData/ELTouchBible-eqhoridwhfpkcvddemynmhjrvyor/Build/Products/Release-iphonesimulator/Bible.app/Bible
Undefined symbols for architecture i386:
"_DebugLog", referenced from:
-[NSData(IdleLoop) dataDecodeFromHtml] in IdleLoop.o
-[NSData(IdleLoop) dataEncodeToHtml] in IdleLoop.o
-[GoogleDocs fRetryCachedQuery] in GoogleDocs.o
-[GoogleDocs retitleNextFile] in GoogleDocs.o
-[GoogleDocs downloadEntry:] in GoogleDocs.o
-[GoogleDocs uploadFileTicket:failedWithError:] in GoogleDocs.o
-[GoogleDocs uploadFileTicket:finishedWithEntry:] in GoogleDocs.o
...
"_Assert", referenced from:
-[NSData(IdleLoop) dataEncodeToHtml] in IdleLoop.o
-[GoogleDocs sendFailureNotice:code:] in GoogleDocs.o
-[GoogleDocs docListListFetchTicket:failedWithError:] in GoogleDocs.o
-[GoogleDocs beginFolderCheck:createIfNeeded:] in GoogleDocs.o
-[GoogleDocs beginFileDeleteTitle:inFolder:keepingNewest:] in GoogleDocs.o
-[GoogleDocs beginFileRetitleFrom:toTitle:inFolder:] in GoogleDocs.o
-[GoogleDocs beginDownloadTitle:inFolder:] in GoogleDocs.o
...
(maybe you meant: _AssertSelectorNilOrImplementedWithArguments)
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
但样本项目运作良好在Xcode 4,我使用xcode4.How解决这个error.please帮我做到这一点。 在此先感谢。
检查依赖关系,并检查应用程序的体系结构。 – Legolas
@李格拉斯先生你能解释一下吗? – ICoder
请检查构建设置和依赖关系。如果您点击该项目,YOu可以检查它们。 – Legolas