Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

implement youtube API

Currently, I am developing an App in which I have implemented you tube API for sending videos

into you tube.For this I have used https://github.com/nparry/gdata-objectivec-clien/tree/master/Source

library and its work fine for me when I am individually use it.but when I am merge this API

in my working App it shows me following error:

Undefined symbols for architecture armv7:
  "_OBJC_CLASS_$_GDataYouTubeMediaGroup", referenced from:
      objc-class-ref in YoutubeViewController.o
  "_OBJC_CLASS_$_GDataUtilities", referenced from:
      objc-class-ref in YoutubeViewController.o
  "_OBJC_CLASS_$_GDataMediaTitle", referenced from:
      objc-class-ref in YoutubeViewController.o
  "_OBJC_CLASS_$_GDataServiceGoogleYouTube", referenced from:
      objc-class-ref in YoutubeViewController.o
  "_OBJC_CLASS_$_GDataMediaKeywords", referenced from:
      objc-class-ref in YoutubeViewController.o
  "_kGDataSchemeYouTubeCategory", referenced from:
      -[YoutubeViewController uploadPressed:] in YoutubeViewController.o
  "_OBJC_CLASS_$_GDataMediaDescription", referenced from:
      objc-class-ref in YoutubeViewController.o
  "_OBJC_CLASS_$_GDataEntryYouTubeUpload", referenced from:
      objc-class-ref in YoutubeViewController.o
  "_OBJC_CLASS_$_GDataMediaCategory", referenced from:
      objc-class-ref in YoutubeViewController.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have searched so hard for removing this error but can't find any solution.How can I solve this?

like image 672
Vishal Avatar asked Jun 07 '26 09:06

Vishal


1 Answers

this is an error that comes on adding files from external sources into project, all you need to do is : go to "Build Phases" under "Targets", there you need to add all .m files in "Compile Sources".

like image 146
Suhaiyl Avatar answered Jun 10 '26 13:06

Suhaiyl



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!