miaomi / google-api-objectivec-client Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/google-api-objectivec-client
Automatically exported from code.google.com/p/google-api-objectivec-client
s
Original issue reported on code.google.com by [email protected]
on 12 Oct 2011 at 6:35
What steps will reproduce the problem?
1. Checkout the library with a version > r248
2. Open ServiceGenerator.xcodeproj
3. Build ServiceGenerator
What is the expected output? What do you see instead?
A clean build is expected. Instead, we get a compile error:
CompileC
/Users/myuser/Library/Developer/Xcode/DerivedData/ServiceGenerator-fndjszdpktnkv
jdabpqsvrbynxog/Build/Intermediates/ServiceGenerator.build/Debug/ServiceGenerato
r.build/Objects-normal/x86_64/SBJSON.o ../../JSON/SBJSON.m normal x86_64
objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/myuser/src/google-api-objectivec-client-read-only/Source/Tools/ServiceGenerator
setenv LANG en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -std=gnu99 -Wno-trigraphs -fpascal-strings -O0 -Werror -Werror-implicit-function-declaration -Wmissing-field-initializers -Wmissing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wshadow -Wno-four-char-constants -Wno-conversion -Wsign-compare -Wno-shorten-64-to-32 -Wpointer-sign -Wnewline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -DDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -fasm-blocks -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.6 -g -fvisibility=hidden -Wno-sign-conversion "-DIBOutlet=__attribute__((iboutlet))" "-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName)))" "-DIBAction=void)__attribute__((ibaction)" -iquote /Users/myuser/Library/Developer/Xcode/DerivedData/ServiceGenerator-fndjszdpktnkvjdabpqsvrbynxog/Build/Intermediates/ServiceGenerator.build/Debug/ServiceGenerator.build/ServiceGenerator-generated-files.hmap -I/Users/myuser/Library/Developer/Xcode/DerivedData/ServiceGenerator-fndjszdpktnkvjdabpqsvrbynxog/Build/Intermediates/ServiceGenerator.build/Debug/ServiceGenerator.build/ServiceGenerator-own-target-headers.hmap -I/Users/myuser/Library/Developer/Xcode/DerivedData/ServiceGenerator-fndjszdpktnkvjdabpqsvrbynxog/Build/Intermediates/ServiceGenerator.build/Debug/ServiceGenerator.build/ServiceGenerator-all-target-headers.hmap -iquote /Users/myuser/Library/Developer/Xcode/DerivedData/ServiceGenerator-fndjszdpktnkvjdabpqsvrbynxog/Build/Intermediates/ServiceGenerator.build/Debug/ServiceGenerator.build/ServiceGenerator-project-headers.hmap -I/Users/myuser/Library/Developer/Xcode/DerivedData/ServiceGenerator-fndjszdpktnkvjdabpqsvrbynxog/Build/Products/Debug/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/myuser/Library/Developer/Xcode/DerivedData/ServiceGenerator-fndjszdpktnkvjdabpqsvrbynxog/Build/Intermediates/ServiceGenerator.build/Debug/ServiceGenerator.build/DerivedSources/x86_64 -I/Users/myuser/Library/Developer/Xcode/DerivedData/ServiceGenerator-fndjszdpktnkvjdabpqsvrbynxog/Build/Intermediates/ServiceGenerator.build/Debug/ServiceGenerator.build/DerivedSources -F/Users/myuser/Library/Developer/Xcode/DerivedData/ServiceGenerator-fndjszdpktnkvjdabpqsvrbynxog/Build/Products/Debug -Wformat -Wall -MMD -MT dependencies -MF /Users/myuser/Library/Developer/Xcode/DerivedData/ServiceGenerator-fndjszdpktnkvjdabpqsvrbynxog/Build/Intermediates/ServiceGenerator.build/Debug/ServiceGenerator.build/Objects-normal/x86_64/SBJSON.d --serialize-diagnostics /Users/myuser/Library/Developer/Xcode/DerivedData/ServiceGenerator-fndjszdpktnkvjdabpqsvrbynxog/Build/Intermediates/ServiceGenerator.build/Debug/ServiceGenerator.build/Objects-normal/x86_64/SBJSON.dia -c /Users/myuser/src/google-api-objectivec-client-read-only/Source/Tools/ServiceGenerator/../../JSON/SBJSON.m -o /Users/myuser/Library/Developer/Xcode/DerivedData/ServiceGenerator-fndjszdpktnkvjdabpqsvrbynxog/Build/Intermediates/ServiceGenerator.build/Debug/ServiceGenerator.build/Objects-normal/x86_64/SBJSON.o
clang: error: no such file or directory:
'/Users/myuser/src/google-api-objectivec-client-read-only/Source/Tools/ServiceGe
nerator/../../JSON/SBJSON.m'
clang: error: no input files
Command
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/u
sr/bin/clang failed with exit code 1
Please provide any additional information below.
Build is clean using r248.
Original issue reported on code.google.com by [email protected]
on 22 Jan 2013 at 10:31
_calendarService = [[GTLServiceCalendar alloc] init];
_calendarService.shouldFetchNextPages = YES;
_calendarService.retryEnabled = YES;
GTLQueryCalendar *query = [GTLQueryCalendar queryForEventsListWithCalendarId:calendarID];
query.fields = @"updated,items(etag,id,status,created,updated,summary,description,location,start,end,recurrence,extendedProperties)";
query.maxResults = 200;
query.showDeleted = NO;
self.tasksFetchTicket = [_calendarService executeQuery:query
completionHandler:^(GTLServiceTicket *ticket,
GTLCalendarEvents *events, NSError *error) {
// Only and exactly 200 events are returned here. I have more than 500 events. If I set query.maxResults to 100, only 100 events are returned.
// It should return all my events, shouldn't it?
}
Original issue reported on code.google.com by [email protected]
on 9 May 2012 at 3:18
Currently, the returned errors are all like this:
{
"error" : {
"message" : "Invalid Value",
"code" : 400,
"data" : [
{
"reason" : "invalid",
"message" : "Invalid Value",
"domain" : "global"
}
]
}
But which value is invalid?
Original issue reported on code.google.com by [email protected]
on 10 May 2012 at 4:09
What steps will reproduce the problem?
1. Run the Drive Sample Application and attempt to delete a file after signing
in
Expected results:
File is deleted and query callback occurs displaying an alert informing that
the file has been deleted
Actual results:
File is deleted remotely and assertion occurs in the code: GTL_ASSERT([json
count] != 0, @"Creating object from empty json");
What version of the product are you using? build from 6-Aug-2012
On what operating system? OSX Lion
Apparently, the drive server used to return no data when deleting a file, but
now it returns JSON with an empty results array. This breaks the code.
A fix is below:
in GTLService.m parseObjectyFromDataOfFetcher:
//DEFECT WORKAROUND FOR GTLSERVICE - Google API now does return JSON data for deletes, but the JSON array for result is blank. Check json count and ignore if empty
if (json != nil && [json count]>0) {
...
} else if (!isREST) {
NSMutableDictionary *errorJSON = [jsonWrapper valueForKey:@"error"];
//DEFECT WORKAROUND PART 2: Don't assert on no error due to the situation described above.
if(errorJSON!=nil){
GTL_DEBUG_ASSERT(errorJSON != nil, @"no result or error in response:\n%@",
jsonWrapper);
GTLErrorObject *errorObject = [GTLErrorObject objectWithJSON:errorJSON];
NSError *error = [errorObject foundationError];
// Store the error and let it go to the callback
[properties setValue:error
forKey:kFetcherFetchErrorKey];
}
}
}
Original issue reported on code.google.com by [email protected]
on 10 Sep 2012 at 10:20
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
-
What version of the product are you using? On what operating system?
-
Please provide any additional information below.
The REST based google api was available with Cocoapod. Please make the JSON one
available for Cocoapod as well.
Original issue reported on code.google.com by [email protected]
on 30 Nov 2012 at 8:42
Sometimes Google services just do not respond, and the default 60
timeoutInterval is too long a wait in vain. It is better if we can set
timeoutInterval that we see proper in our apps.
Original issue reported on code.google.com by [email protected]
on 10 May 2012 at 4:40
What steps will reproduce the problem?
1. I followed the steps to embed static library in xcode and included analytics
generated files.
2. I added security and system configuration framework in my project.
3. Write code using queryanalytics here is the code.
self.analyticsService.authorizer = auth;
GTLQueryAnalytics *query = [GTLQueryAnalytics queryForDataGaGetWithIds:@"ga:48150884" startDate:@"ga:totalEvents" endDate:@"ga:totalEvents" metrics:@"ga:totalEvents"];
GTLServiceAnalytics *service = self.analyticsService;
self.analyticsTicket = [service executeQuery:query delegate:self didFinishSelector:@selector(serviceTicket:finishedWithObject:error:)];
What is the expected output? What do you see instead?
It did not build at all and terminated giving linking error.
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_GTLQueryAnalytics", referenced from:
objc-class-ref in ViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
What version of the product are you using? On what operating system?
I am using google api objective c client library with Mac 10.7.3 and xcode 4
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 1 Sep 2012 at 7:27
What steps will reproduce the problem?
1. Follow build instructions in
http://code.google.com/p/google-api-objectivec-client/wiki/BuildingTheLibrary
2. Application for Mac OS X does not build because of a preprocessor error
(cannot find include file)
What is the expected output? What do you see instead?
Application should build
What version of the product are you using? On what operating system?
Current release on Nov 4, 2011. Mac OS X, Xcode 4
Please provide any additional information below.
You just need to change the build instructions on the wiki. The correct
preprocessor define is GTL_BUILT_AS_FRAMEWORK=1
Original issue reported on code.google.com by [email protected]
on 4 Nov 2011 at 6:31
What steps will reproduce the problem?
1. Checkout latest revision from the source (currently r144)
2. Download the source code from the three required libraries, GTM HTTP
Fetcher, GTM OAuth 2, and json-framework (latter has moved to github:
https://github.com/stig/json-framework)
3. Find & Copy the required files from those libraries to the Xcode project.
What is the expected output?
To have a project that can be built.
What do you see instead?
The file structure of the json-framework has changed, the files therein no
longer match this project. Thus, this project is not compilable.
Request:
Please update the google-api-objectivec-client project to mirror the latest
changes in the json-framework, or be specific about a certain revision to check
out for each of the libraries.
Original issue reported on code.google.com by [email protected]
on 6 Mar 2012 at 12:51
What steps will reproduce the problem?
1.I use the auth vc (touch) to auth and did get the auth and save the
authentication to keychain
2.On Google->Account->Security->Authorizing applications and sites page to
revoke the app
3.Using the sdk and the GTMOAuth2Authentication object's canAuthorize method
does not know it's token has already been revoked. And If I try to use
GTLDriveService to upload file to Google Drive using the block based API:
exucuteQuery: completionHandler:
the handler will never be called.
What is the expected output? What do you see instead?
I expect that the completionHandler get called and from the error I can know
that this is due to the token is not valid. But the handler just don't get
called at all!(It does get called if the token is valid).
And it does print out "invalid_grant" in the console. I tracked that and found
this is in GTMOAuth2Authtication 's tokenFetcher: finishedWithData: error
method 's #if DEBUG block, hope this information will help.
What version of the product are you using? On what operating system?
I'm using the lateset version since the Google Drive Service is just released.
On Xcode 4.5 and iOS 5.
Please provide any additional information below
The normal call tree and the error call tree is very different and too
complicated so I can't figure this out myself. Hope you guys can fix this issue.
Original issue reported on code.google.com by [email protected]
on 11 Jul 2012 at 8:48
What steps will reproduce the problem?
1. Query calendar's color set.
2. Query calendar's events.
3. Get event's colorId property.
What is the expected output? What do you see instead?
: When event's color is first color(not calendar's color)
colorId is Null.(Same as no event color.)
What version of the product are you using? On what operating system?
Xcode 4.2 and 4.3 beta. iOS5 and iOS5.1 beta
Original issue reported on code.google.com by [email protected]
on 18 Feb 2012 at 7:32
你好,我看到你曾经follow了androvm,你还有这个项目的源码吗??求一份~ 由于没有别的联系方式,只能在你的项目留言,不好意思 ~
What steps will reproduce the problem?
1. Install and build the Google Calendar sample.
2. Run the application. Create a client ID and client secret, and enter them into the Client ID and Client Secret boxes.
3. Select Login and enter the username and password of a valid Googel Calendar account.
What is the expected output? What do you see instead?
Expected output: Successful login.
Actual output: "Error: redirect_uri_mismatch - The redirect URI in the request: urn:ietf:wg:oauth:2.0:oob did not match a registered redirect URI."
What version of the product are you using? On what operating system?
The latest Google Calendar API svn, build with Xcode 4.5.2 under Mac OS 10.8.2.
Please provide any additional information below.
Looks like a URL hardcoded into the sample API is incorrect or is being mishandled.
Original issue reported on code.google.com by [email protected]
on 18 Jan 2013 at 10:04
Line 627 in says:
"// GTLDriveFileParentsCollectionItem *parentItem = [GTLDriveFileParentsCollectionItem object];"
But I can´t find any reference to GTLDriveFileParentsCollectionItem anywhere
in the project.
line 420 says:
"// For example, leave query.files as nil during development."
Should it maybe be "query.fields" instead of "query.files"?
Original issue reported on code.google.com by [email protected]
on 29 Jun 2012 at 7:05
What steps will reproduce the problem?
1. Create: [GTLTasksTask object]
2. Set due date: patchObject.due = [GTLDateTime dateTimeWithDate:...];
3. Create: GTLQueryTasks *query = [GTLQueryTasks
queryForTasklistsPatchWithObject:patchObject ...]
4. Execute: [tasksService executeQuery:query completionHandler:...]
5. Watch the error occur in completion handler.
What is the expected output? What do you see instead?
I expect the due date to be set.
Instead, I see the following error:
------------
Error Domain=com.google.GTLJSONRPCErrorDomain Code=400 "The operation
couldn’t be completed. (Bad Request)" UserInfo=0x6dac300
{NSLocalizedFailureReason=(Bad Request), GTLStructuredError=GTLErrorObject
0x6da0d20: {message:"Bad Request" data:[1] code:400}, error=Bad Request}
-------------
What version of the product are you using? On what operating system?
Just downloaded the latest version from SVN.
Using iOS 4.3
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 30 Sep 2011 at 10:42
What steps will reproduce the problem?
1. Download the lastest svn.
2. Load Examples/CalendarSAmple/CalendarSample.xcodeproj.
3. Build.
What is the expected output? What do you see instead?
Expected output: Successful build.
Actual output: "clang: error: no such file or directory: (root folder)/Examples/CalendarSample/../../Source/Services/Calendar/Generated/GTLCalendarFreeBusyRequest.m."
What version of the product are you using? On what operating system?
Using the latest svn (downloaded January 18, 2013), Xcode 4.5.2, and OSX 10.8.2.
Please provide any additional information below.
Browsing to the identified folder reveals related files with similar filenames - notably including GTLCalendarFreeBusyRequestItem.m - but not the specified file.
Original issue reported on code.google.com by [email protected]
on 18 Jan 2013 at 5:29
viet
Original issue reported on code.google.com by [email protected]
on 21 Oct 2011 at 8:14
Attachments:
What steps will reproduce the problem?
1. Follow instruction to build the library in existing project on XCode 4 on
mac os Snow Leopard: Follow these instruction:
http://code.google.com/p/google-api-objectivec-client/wiki/BuildingTheLibrary
(Linking to the iOS Static Library)
What is the expected output? What do you see instead?
I should be able to use the library files such as "GTLBooks.h" but i get errors
such as:
Apple Mach-O Linker (Id) error
What version of the product are you using? On what operating system?
Xcode 4 on Mac OS Snow Leopard
Please provide any additional information below.
N/A
Original issue reported on code.google.com by [email protected]
on 5 Mar 2012 at 9:20
bbb
Original issue reported on code.google.com by [email protected]
on 21 Oct 2011 at 8:13
Attachments:
What steps will reproduce the problem?
1.Set deployment target to 4.0.
2.run app in iOS 4.0.
3.
What is the expected output? What do you see instead?
It shouldn't have crashed
What version of the product are you using? On what operating system?
iOS 4.0 Lion
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 12 Jul 2012 at 9:30
Comment is apparently wrong:
// Clients may set this to NO to disallow authorization. Defaults to YES.
@property (assign) BOOL shouldSkipAuthorization;
Original issue reported on code.google.com by [email protected]
on 5 Sep 2011 at 9:04
Attachments:
Additional properties for calendar events are strings. But the inherited
classForAdditionalProperties of GTLCalendarEventExtendedPropertiesShared and
GTLCalendarEventExtendedPropertiesPrivate is GTLObject. It causes runtime
warnings like this:
GTLRuntimeCommon: jsonFromAPIObject expected class 'GTLObject' instead got
'__NSCFString'
Solution:
Override -classForAdditionalProperties in
GTLCalendarEventExtendedPropertiesShared and
GTLCalendarEventExtendedPropertiesPrivate to return [NSString class].
Original issue reported on code.google.com by [email protected]
on 9 May 2012 at 10:30
What steps will reproduce the problem?
1. svn download
2.
3.
What is the expected output? What do you see instead?
json-framework authentication
what username?
what password?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 30 Mar 2012 at 9:00
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.