Nguyen Dinh Hung
unread,Jan 11, 2015, 9:31:43 AM1/11/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-api-obj...@googlegroups.com
I am integrate YouTube API into my iOS app.
I down google-api-objectivec-client-read-only
Frist I added folder Services/You Tube in my project .
Then create folder include/GTL . It inclue file .h from folder HTTPFethcher,Object,Utilities,OAuth2.
Then I edit : Other Linker Flags: -ObjC -all_load ,
ARC : NO
And I play and errors :
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_GTLCollectionObject", referenced from:
_OBJC_CLASS_$_GTLYouTubeI18nLanguageListResponse in GTLYouTubeI18nLanguageListResponse.o
_OBJC_CLASS_$_GTLYouTubeActivityListResponse in GTLYouTubeActivityListResponse.o
_OBJC_CLASS_$_GTLYouTubeInvideoPromotion in GTLYouTubeInvideoPromotion.o
_OBJC_CLASS_$_GTLYouTubeLiveStreamListResponse in GTLYouTubeLiveStreamListResponse.o
_OBJC_CLASS_$_GTLYouTubeChannelSectionListResponse in GTLYouTubeChannelSectionListResponse.o
_OBJC_CLASS_$_GTLYouTubeVideoListResponse in GTLYouTubeVideoListResponse.o
_OBJC_CLASS_$_GTLYouTubeSubscriptionListResponse in GTLYouTubeSubscriptionListResponse.o
...
"_OBJC_CLASS_$_GTLObject", referenced from:
_OBJC_CLASS_$_GTLYouTubeSearchResultSnippet in GTLYouTubeSearchResultSnippet.o
_OBJC_CLASS_$_GTLYouTubeVideoSuggestions in GTLYouTubeVideoSuggestions.o
_OBJC_CLASS_$_GTLYouTubeActivityContentDetailsSocial in GTLYouTubeActivityContentDetailsSocial.o
_OBJC_CLASS_$_GTLYouTubeVideoRecordingDetails in GTLYouTubeVideoRecordingDetails.o
_OBJC_CLASS_$_GTLYouTubePlaylistSnippet in GTLYouTubePlaylistSnippet.o
_OBJC_CLASS_$_GTLYouTubePlaylistItemSnippet in GTLYouTubePlaylistItemSnippet.o
_OBJC_CLASS_$_GTLYouTubeChannelLocalization in GTLYouTubeChannelLocalization.o
...
"_OBJC_CLASS_$_GTLQuery", referenced from:
_OBJC_CLASS_$_GTLQueryYouTube in GTLYouTube_Sources.o
_OBJC_CLASS_$_GTLQueryYouTube in GTLQueryYouTube.o
(maybe you meant: _OBJC_CLASS_$_GTLQueryYouTube)
"_OBJC_CLASS_$_GTLService", referenced from:
_OBJC_CLASS_$_GTLServiceYouTube in GTLServiceYouTube.o
_OBJC_CLASS_$_GTLServiceYouTube in GTLYouTube_Sources.o
(maybe you meant: _OBJC_CLASS_$_GTLServiceYouTube)
"_OBJC_METACLASS_$_GTLCollectionObject", referenced from:
_OBJC_METACLASS_$_GTLYouTubeI18nLanguageListResponse in GTLYouTubeI18nLanguageListResponse.o
_OBJC_METACLASS_$_GTLYouTubeActivityListResponse in GTLYouTubeActivityListResponse.o
_OBJC_METACLASS_$_GTLYouTubeInvideoPromotion in GTLYouTubeInvideoPromotion.o
_OBJC_METACLASS_$_GTLYouTubeLiveStreamListResponse in GTLYouTubeLiveStreamListResponse.o
_OBJC_METACLASS_$_GTLYouTubeChannelSectionListResponse in GTLYouTubeChannelSectionListResponse.o
_OBJC_METACLASS_$_GTLYouTubeVideoListResponse in GTLYouTubeVideoListResponse.o
_OBJC_METACLASS_$_GTLYouTubeSubscriptionListResponse in GTLYouTubeSubscriptionListResponse.o
...
"_OBJC_METACLASS_$_GTLObject", referenced from:
_OBJC_METACLASS_$_GTLYouTubeSearchResultSnippet in GTLYouTubeSearchResultSnippet.o
_OBJC_METACLASS_$_GTLYouTubeVideoSuggestions in GTLYouTubeVideoSuggestions.o
_OBJC_METACLASS_$_GTLYouTubeActivityContentDetailsSocial in GTLYouTubeActivityContentDetailsSocial.o
_OBJC_METACLASS_$_GTLYouTubeVideoRecordingDetails in GTLYouTubeVideoRecordingDetails.o
_OBJC_METACLASS_$_GTLYouTubePlaylistSnippet in GTLYouTubePlaylistSnippet.o
_OBJC_METACLASS_$_GTLYouTubePlaylistItemSnippet in GTLYouTubePlaylistItemSnippet.o
_OBJC_METACLASS_$_GTLYouTubeChannelLocalization in GTLYouTubeChannelLocalization.o
...
"_OBJC_METACLASS_$_GTLQuery", referenced from:
_OBJC_METACLASS_$_GTLQueryYouTube in GTLYouTube_Sources.o
_OBJC_METACLASS_$_GTLQueryYouTube in GTLQueryYouTube.o
(maybe you meant: _OBJC_METACLASS_$_GTLQueryYouTube)
"_OBJC_METACLASS_$_GTLService", referenced from:
_OBJC_METACLASS_$_GTLServiceYouTube in GTLServiceYouTube.o
_OBJC_METACLASS_$_GTLServiceYouTube in GTLYouTube_Sources.o
(maybe you meant: _OBJC_METACLASS_$_GTLServiceYouTube)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
How fix this errors and Imterate youtube Api into my project ?