我在Mac App中使用GData.Framewok
将任何照片上传到Picasa网络相册。但是当我尝试构建项目时,我遇到了以下错误。
我尝试过所有方法,但仍然遗漏了一些东西。请说明我做错了什么。
错误
“_ kGDataPhotoAccessPrivate”,引自: - GooglePhotosSampleWindowController.o中的[GooglePhotosSampleWindowController createAnAlbum]
“_ OBJC_CLASS _ $ _ GDataPhotoTimestamp”,引自: objc-class-ref-to-GDataPhotoTimestamp in GooglePhotosSampleWindowController.o
“_ OBJC_CLASS _ $ _ GDataServiceGooglePhotos”,引自: objc-class-ref-to-GDataServiceGooglePhotos in GooglePhotosSampleWindowController.o
“_ kGDataGooglePhotosImageSizeDownloadable”,引自:
- [GooglePhotosSampleWindowController saveSheetDidEnd:returnCode:contextInfo:] in GooglePhotosSampleWindowController.o
“_ OBJC_CLASS _ $ _ GDataEntryPhotoAlbum”,引自: objc-class-ref-to-GDataEntryPhotoAlbum in GooglePhotosSampleWindowController.o
“_ OBJC_CLASS _ $ _ GDataEntryPhoto”,引自: objc-class-ref-to-GDataEntryPhoto in GooglePhotosSampleWindowController.o
“_ kGDataPhotoAccessPublic”,引自: - GooglePhotosSampleWindowController.o中的[GooglePhotosSampleWindowController createAnAlbum]
“_ OBJC_CLASS _ $ _ GDataUtilities”,引自: objc-class-ref-to-GDataUtilities in GooglePhotosSampleWindowController.o
“_ OBJC_CLASS _ $ _ GDataEntryPhotoComment”,引自: objc-class-ref-to-GDataEntryPhotoComment in GooglePhotosSampleWindowController.o
“_ OBJC_CLASS _ $ _ GDataQueryGooglePhotos”,引自: objc-class-ref-to-GDataQueryGooglePhotos in GooglePhotosSampleWindowController.o
“_ OBJC_CLASS _ $ _ GDataEntryPhotoTag”,引自: objc-class-ref-to-GDataEntryPhotoTag in GooglePhotosSampleWindowController.o
“_ OBJC_CLASS _ $ _ GDataHTTPFetcher”,引自: objc-class-ref-to-GDataHTTPFetcher in GooglePhotosSampleWindowController.o
“_ kGDataGooglePhotosDropBoxUploadURL”,引自: - GooglePhotosSampleWindowController.o中的[GooglePhotosSampleWindowController addToDropBoxClicked:] ld:找不到符号collect2: ld返回1退出状态
所有上传照片的代码都在GooglePhotosSampleWindowController.m文件中,但是当我按照上面的错误来构建我的项目时出现了错误。 我正在关注此链接http://code.google.com/p/gdata-objectivec-client/wiki/BuildingTheLibrary
提前致谢!
答案 0 :(得分:2)
您没有将该框架与您的应用程序相关联。
假设您使用的是Xcode 4.2,请检查目标的构建阶段。在“Link Binary with Libraries”下,框架应该出现