Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iphone GData spreadsheet unrecognized selector

I've used the GData spreadsheets code for MAC to write a corresponding iPhone version (the same code), but I get a exception thrown: [GDataEntryBase worksheetsFeedURL]: unrecognized selector sent to instance ... It appears to me that when fetching the entries from the spreadsheet feed, I got a array of GDataEntryBase (iPhone version) instead of GDataEntrySpreadsheet. Any help will be highly appreciated!

Thank you.

like image 410
Alexandru Gavrila Avatar asked Feb 21 '26 12:02

Alexandru Gavrila


1 Answers

The base class is created when the needed subclasses aren't compiled and linked into the application.

Be sure the -ObjC linker flag is set for your project, and that -DGDATA_REQUIRE_SERVICE_INCLUDES=1 and -DGDATA_INCLUDE_SPREADSHEET_SERVICE=1 are defined for the target that includes the spreadsheet classes. ( in GData.xcodeproj > Build Settings > Other Linker Flags )

These are discussed on the BuildingTheLibrary wiki page for the project.

like image 162
grobbins Avatar answered Feb 23 '26 03:02

grobbins



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!