dylansale / 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
What steps will reproduce the problem?
1. Set build scheme in Xcode 4.6 to iOS 5.1 iPhone Simulator (or use an iOS 5.1
device)
2. Include code in a basic iOS app to initialize GTMOAuth2Authentication object
via the init method:
+ (id)authenticationWithServiceProvider:(NSString *)serviceProvider
tokenURL:(NSURL *)tokenURL
redirectURI:(NSString *)redirectURI
clientID:(NSString *)clientID
clientSecret:(NSString *)clientSecret
3. Set a breakpoint at line 200 in GTMOAuth2Authentication.m, inside the
aforementioned method, the line there should be "obj.serviceProvider =
serviceProvider;"
4. Launch your app in iOS 5.1 Simulator or on an iOS Device and trigger the
creation of the authentication object above.
5. When you hit the breakpoint, attempt to step to the next instruction,
obj.tokenURL = tokenURL;
What is the expected output? What do you see instead?
Well, setting the property should go as you'd expect, and if you tell the
debugger to continue, a GTMOAuth2Authentication object should be created (and
this works fine on iOS 6). Instead, when "obj.tokenURL = tokenURL;" is
executed, you get the following hard crash output with no backtrace (because
it's a runtime issue, I believe):
dyld: lazy symbol binding failed: Symbol not found:
_objc_setProperty_atomic_copy
Referenced from: /Users/billy/Library/Application Support/iPhone Simulator/5.1/Applications/74270074-AC83-495F-87E1-6A1923713EE6/Strip.app/Strip
Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/Frameworks/Foundation.framework/Foundation
This kind of crash can usually be fixed by ensuring that the property in
question has a corresponding ivar declaration, linked via @synthesize. This
already appears to be the case with the tokenURL property, so I'm not sure why
it's blowing up. The value of the incoming tokenURL parameter is
"https://accounts.google.com/o/oauth2/token," so that does not appear to be the
problem, either.
What version of the product are you using? On what operating system?
SVN checkout of google-api-objectivec-client-read-only, latest date listed in
the ReleaseNotes.txt is dated 6-Dec-2012.
Please provide any additional information below.
Happy to provide further info, relevant build settings. The following is how
I'm creating the GTMOAuth2Authentication object in my view controller's
viewDidLoad method, which works just fine in iOS 6 as mentioned above:
// Check for authorization.
GTMOAuth2Authentication *auth =
[GTMOAuth2ViewControllerTouch authForGoogleFromKeychainForName:kGoogleDriveKeychainItemName
clientID:kGoogleDriveClientId
clientSecret:kGoogleDriveClientSecret];
Original issue reported on code.google.com by [email protected]
on 11 Mar 2013 at 6:35
What steps will reproduce the problem?
1. Open Drive sample application
2. Fill ClientID and ClientSecret
3. Sign in by typing your user and password
4. When the user should accept to give Google Drive permission to the client
refuse it by clicking: "No thanks"
What is the expected output? What do you see instead?
The application close the login dialog and then show me the log message:
"Error Domain=com.google.GTMOAuth2 Code=-1001 "The operation couldn’t be
completed. (com.google.GTMOAuth2 error -1001.)" UserInfo=0x1028c3c90
{error=access_denied}"
Meanwhile the application has crashed.
What version of the product are you using? On what operating system?
I'm using r296 version (head version while writing this message) and Mac OS X
10.8. While some users of my application reported the same problem under Mac OS
X 10.7.X.
Please provide any additional information below.
I have attached a stack trace.
Original issue reported on code.google.com by [email protected]
on 8 Apr 2013 at 4:37
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
What steps will reproduce the problem?
1. Check out the main branch of the Objective-C API.
What is the expected output? What do you see instead?
Expected output: No errors. :)
Saw instead:
"Error validating server certificate for 'https://github.com:443':
- The certificate is not issued by a trusted authority. Use the
fingerprint to validate the certificate manually!
Certificate information:
- Hostname: github.com
- Valid: from Mon, 10 Jun 2013 00:00:00 GMT until Wed, 02 Sep 2015 12:00:00 GMT
- Issuer: www.digicert.com, DigiCert Inc, US
- Fingerprint: d7:12:e9:69:65:dc:f2:36:c8:74:c7:03:7d:c0:b2:24:a9:3b:d2:33"
What version of the product are you using? On what operating system?
Checked out using the latest/standard version of svn for OS X (svn version
1.6.18).
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 6 Jul 2013 at 4:21
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.
Add GTL.xcodeproj to your project
2.
add GTLTouchStaticLib to your project's "target dependencies" build phase + add
libGTLTouchStaticLib.a to "link binary with libraries" build phase.
3.
archive your app for ad hoc testing.
What is the expected output? What do you see instead?
You get Generic Xcode Archive rather than the normal iOS App Archive. If you
change "skip install" setting on GTLTouchStaticLib target to YES, you get
proper iOS app archive.
What version of the product are you using? On what operating system?
6-Dec-2012, but this setting is wrong also on current version.
Please provide any additional information below.
You can see this issue in action with current ShareKit version
(https://github.com/sharekit/sharekit)
Original issue reported on code.google.com by [email protected]
on 17 Apr 2013 at 12:29
_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
I’ve recently added Google-API-Client to the CocoaPods package manager repo.
CocoaPods is a tool for managing dependencies for OS X and iOS Xcode projects
and provides a central repository for iOS/OS X libraries. This makes adding
libraries to a project and updating them extremely easy and it will help users
to resolve dependencies of the libraries they use.
However, Google-API-Client doesn't have any version tags. I’ve added the
current HEAD as version 0.0.1, but a version tag will make dependency
resolution much easier.
Semantic version tags (instead of plain commit hashes/revisions) allow for
resolution of cross-dependencies.
In case you didn’t know this yet; you can tag the current HEAD as, for
instance, version 1.0.0, like so:
$ git tag -a 1.0.0 -m "Tag release 1.0.0"
$ git push --tags
Original issue reported on code.google.com by [email protected]
on 22 Mar 2013 at 12:36
Please change
NSMutableArray *requestIDs = [NSMutableSet setWithCapacity:numberOfQueries];
To
NSMutableArray *requestIDs = [NSMutableArray arrayWithArray:[[NSMutableSet setWithCapacity:numberOfQueries] allObjects]];
In
GTLService.m
Original issue reported on code.google.com by [email protected]
on 12 Jun 2013 at 1:16
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
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
From revision 296, i have a import error in GTLYouTubePropertyValues.m
('GTLYouTubePropertyValues.h' file not found).
I can see similar header and .m but with different names
(GTLYouTubePropertyValue.h - GTLYouTubePropertyValues.m)
Original issue reported on code.google.com by rais38
on 18 Apr 2013 at 2:36
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. 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. Follow instructions given here:
https://developers.google.com/drive/quickstart-ios.
2. Run, login to google, allow access.
3. Attempt to upload a photo.
What is the expected output? What do you see instead?
Expected result: loading screen followed by confirmation pop-up; image uploaded
to drive
Actual result: Crash while on loading screen -
'NSInternalInconsistencyException', reason: 'unexpected response data
(uploading to the wrong URL?)'
What version of the product are you using? On what operating system?
Running Version 4.6.1 (4H512)
Please provide any additional information below.
2013-07-22 16:45:04.511 GoogleDriveTest[4625:907] *** Assertion failure in
-[GTMHTTPUploadFetcher connectionDidFinishLoading:],
/Users/excel2011/Desktop/GoogleDriveTest/google-api-objectivec-client-read-only/
Source/HTTPFetcher/GTMHTTPUploadFetcher.m:399
2013-07-22 16:45:04.514 GoogleDriveTest[4625:907] *** Terminating app due to
uncaught exception 'NSInternalInconsistencyException', reason: 'unexpected
response data (uploading to the wrong URL?)'
*** First throw call stack:
(0x33e872a3 0x3bd2b97f 0x33e8715d 0x3475cab7 0x107833 0x347c26fd 0x347021f9
0x34702115 0x33b6445f 0x33b63b43 0x33b8bfcb 0x33dcd74d 0x33b8c42b 0x33af003d
0x33e5c683 0x33e5bee9 0x33e5acb7 0x33dcdebd 0x33dcdd49 0x379822eb 0x35ce3301
0xe4c71 0x3c162b20)
libc++abi.dylib: terminate called throwing an exception
(lldb)
Original issue reported on code.google.com by [email protected]
on 22 Jul 2013 at 8:56
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
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.create a google doc txt file on google drive
2.update it via api (GTLUploadParameters uploadParametersWithData)
3.all newline are replaced with space
What is the expected output? What do you see instead?
newline must appears well after doc being updated
What version of the product are you using? On what operating system?
google drive api r350, ios 6.1, xcode 4.6
Please provide any additional information below.
Update is done with NSData like @"Hi\nGoogle"
Tried with \n, \r, \r\n
Tried to set file convert YES or NO
The download part work well, newline on google doc appears well on IOS.
Original issue reported on code.google.com by [email protected]
on 9 Aug 2013 at 11:28
I used Google Plus API in my application for sharing content.
I used these lines for showing the native share dialog in my application:
id<GPPNativeShareBuilder> shareBuilder = [[GPPShare sharedInstance] nativeShareDialog];
[shareBuilder setPrefillText:MY_TEXT];
[shareBuilder setURLToShare:[NSURL URLWithString:MY_URL];
[shareBuilder open];
Dialog was shown successfully. When I touched "Public" for changing privacy,
crash app immediately.
I am using XCode 5 and my iphone is iOS 5.0. XCode show log:
Uncaught exception: -[NSCache setObject:forKey:cost:]: attempt to insert nil
value (key:acl_public_com.google.GPPCommonSharedResources)
Stack trace: (
0 CoreFoundation 0x33e6f8d7 __exceptionPreprocess + 186
1 libobjc.A.dylib 0x340bf1e5 objc_exception_throw + 32
2 CoreFoundation 0x33e00cf5 +[NSObject copyWithZone:] + 0
3 CoreFoundation 0x33e024a1 -[NSCache setObject:forKey:] + 44
4 MyApp 0x002f86e5 +[UIImage(GPPAdditions) gpp_setCachedImage:forKey:]
5 MyAPP 0x002f8535 +[UIImage(GPPAdditions) gpp_imageNamed:bundle:] + 220
6 MyApp 0x002f85df +[UIImage(GPPAdditions) gpp_imageNamed:tint:bundle:] + 13
Please help me to resolve this issue.
Thanks and best regards,
Michael Thompson
Original issue reported on code.google.com by [email protected]
on 9 Oct 2013 at 11:18
I need to make a dummy request just to receive the largestChangeID, so I make a
request to the list changes
(https://developers.google.com/drive/v2/reference/changes/list) with maxResult
1 to just obtain the largestChangeID.
1. Execute a request with no need of paginate the results (for example set
maxResult = 1)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
GET https://www.googleapis.com/drive/v2/changes?maxResults=1&key={YOUR_API_KEY}
Authorization: Bearer
ya29.AHES6ZSZzp5Asp02vdKmAiNbCs1cuvBFxvy2L3g8Mae05uDrABIBtTs
X-JavaScript-User-Agent: Google APIs Explorer
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2. The request contains no items, but a nextPageToken is returned (This must be
a defect in the API).
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
{
"kind": "drive#changeList",
"etag": "\"GesfazbRwXf_7avgrxTp0sjPQkU/BAblAFB_YsAZHzKV9V2HFOof83U\"",
"selfLink": "https://www.googleapis.com/drive/v2/changes?maxResults=1",
"nextPageToken": "4",
"nextLink": "https://www.googleapis.com/drive/v2/changes?maxResults=1&pageToken=4",
"largestChangeId": "2870",
"items": [
]
}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3. GTLServiceDrive should have shouldFetchNextPages = YES
What is the expected output? What do you see instead?
The expected result it's just the one I can see in the raw response.
Instead as a pageToken is present in the response, GTLServiceDrive start
fetching all the next pages retrieving the entire list of changes in the
account.
I think that the problem is the API returning a nextPageToken when no necessary.
Original issue reported on code.google.com by [email protected]
on 9 May 2013 at 5:16
Using the --formattedName option results in an "Invalid httpHeader argument"
due to missing 'break' statement on line 500 of FHMain.m
Original issue reported on code.google.com by [email protected]
on 13 Mar 2013 at 8:38
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
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
What steps will reproduce the problem?
1. Log into YouTube using iOS SDK and specific client ID/Secret
2. Upload video, works fine
3. Change app to use another client ID/Secret
4. attempt to upload video
5. executeQuery (queryForVideosInsertWithObject) just hangs and never calls
completionHandler
6. log out, log back in, works fine
What is the expected output? What do you see instead?
- an error message
- ideally when we check auth.canAuthorize it reports NO
What version of the product are you using? On what operating system?
3.0 sdk for ios
Please provide any additional information below.
Now this is an extreme example. We've had users hit the same "hang" out in the
field where the cid/secret are not changing on them. So, did their login expire
or something else? They can always fix it by logging out and back in.
We followed the example code for determining if someone is signed in, which is
below. If there's something further we should check. I've looked at
expirationDate and expiresIn and they are no help.
- (NSString *)signedInName {
// Get the email address of the signed-in user
GTMOAuth2Authentication *auth = [[self youTubeService] authorizer];
BOOL isSignedIn = auth.canAuthorize;
if (isSignedIn) {
return auth.userEmail;
} else {
return nil;
}
}
- (BOOL)loggedIn {
return [self signedInName]!=nil;
}
Original issue reported on code.google.com by [email protected]
on 5 Sep 2013 at 2:10
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. Use Mac OS X Maverick
2. XCode 4.6.3 or XCode 5.0
3. Build a sample project such as TasksSample
What is the expected output? What do you see instead?
I expect the Sample project can just build as normal. Instead the XCode just
hangs on there when "building universal library"
What version of the product are you using? On what operating system?
the lastest product. Mac OS X Marverick is the OS
Please provide any additional information below.
Xcode 4.6.3
Original issue reported on code.google.com by [email protected]
on 28 Jun 2013 at 7:40
What steps will reproduce the problem?
1. Perform a query using [GTLQueryYouTube queryForVideosListWithIdentifier...
with a set of banned videoIds
2.
3.
What is the expected output? What do you see instead?
When testing the query using
https://developers.google.com/youtube/v3/docs/videos/list ; I do not get an
error but rather an empty result.
For instance if I request id: 5ff6D5SFhdM,n3Yrk2q9YlE ; part: id,snippet - "I
got:
200 OK
- Show headers -
{
"kind": "youtube#videoListResponse",
"etag": "\"PMn2rAVTRiZHkX45qiqfcLZoTXM/C0A-YgKFiB4JY4gZcP7NsOPTWd0\"",
"items": [
]
}
Using the equivalent objective C request, I have an assertion.
Assertion failure in -[GTLService parseObjectFromDataOfFetcher:](),
/Users/tkormann/Documents/Projects/google-api-objectivec-client-read-only/Source
/Objects/GTLService.m:1145
I believe the assertion is not valid. I have no result and no error, that's
true. But I should rather get either a specific NSError or a
GTLYouTubeVideoListResponse with an empty 'items' list.
I can workaround the problem by always adding a valid videoId to each of my
request or modify the actual code of GTLService.m but I would like to get your
feedback on this issue prior to take any action.
What version of the product are you using? On what operating system?
current repository, youtube APIs 3.0 Exp. running iOS 6
Please provide any additional information below.
N/A
Original issue reported on code.google.com by [email protected]
on 27 Apr 2013 at 8:02
What steps will reproduce the problem?
1. Use ContactSample that is provided with your source
2. Try to download contacts with aliased email which is not a [email protected]
address (e.g. [email protected])
3. Authentication works and no error is returned, but also no contacts are
returned
What is the expected output? What do you see instead?
All contacts I have with my account.
I get nothing.
What version of the product are you using? On what operating system?
Sample in the latest SVN snapshot
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 26 Feb 2013 at 1:49
What steps will reproduce the problem?
1. Add google-api-objectivec-client to a project using iOS 7 and Xcode 5 GM
2. Archive the app
3. Use the Xcode Organizer to validate the app
What is the expected output? What do you see instead?
Sadly Xcode 5 GM complains that "startIndex" is a private API.
What version of the product are you using? On what operating system?
I updated my copy of the library about 6am UTC on 12 Sept 2013.
Please provide any additional information below.
I worked around the issue by renaming the "startIndex" property in GTLService.h
to "startIdx". I also updated GTLService.m with corresponding changes. These
changes allowed the app to validate with Xcode 5 GM.
Original issue reported on code.google.com by [email protected]
on 12 Sep 2013 at 6:20
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
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
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. Build any project using google-api-objectivec-client using xcode 5
What is the expected output? What do you see instead?
Expect - No compilation warning.
See - a few warnings (icompatible pointer types - assigning 'NSMutableString *'
from 'NSString *'.)
What version of the product are you using? On what operating system?
The latest client library
on OSX
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 18 Oct 2013 at 6:14
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
To whom it may concern
I'm developing a client application on iOS which will send data to a Google
fusion table, could anyone write down an example of how I can use this library
to achieve it?
Thanks in advance
Original issue reported on code.google.com by [email protected]
on 25 Mar 2013 at 12:02
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. 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
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? (Example)
1. Build and run the youtube upload video example
2. Enter some chinese characters into the description, for example 这将打破
3. Try to upload the video
I have also tried escaping utf8 text, this can be uploaded without an error
code but the literal ASCII string is then used as the description.
What is the expected output? What do you see instead?
This should upload a video with the following description: 这将打破
Error: Error Domain=com.google.HTTPStatus Code=503 "The operation couldn’t be
completed. (com.google.HTTPStatus error 503.)"
This problem doesn't seem limited to Youtube, the following links are other
examples for the code not working correctly:
http://stackoverflow.com/questions/17396715/google-drive-returns-503-error-when-
uploading-a-file-with-non-ascii-title
http://stackoverflow.com/questions/17374604/q-google-drive-returns-503-error-whe
n-uploading-a-file-with-non-ascii-filename
http://stackoverflow.com/questions/17357326/with-objective-c-sdk-google-drive-re
turns-503-error-when-uploading-a-file-with
Original issue reported on code.google.com by [email protected]
on 1 Jul 2013 at 4:50
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
What steps will reproduce the problem?
1. Checkout SVN code
2. Open any example project/main project
3. Attempt to compile - build failed
What is the expected output? What do you see instead?
I'd expect it to compile. Which it didn't.
The problem seems to lie with revision
http://code.google.com/p/google-api-objectivec-client/source/detail?spec=svn269&
r=269 which added GTM_NONNULL. GTLDefines has something similar (GTL_NONNULL),
but it's not working either. GTM_NONNULL apparently comes from another Google
project (Google Toolbox for Mac) which seems not to be part of this project.
Perhaps I might be doing something wrong, however I'd expect vanilla checkout
from repository to "just compile".
What version of the product are you using? On what operating system?
Latest SVN repo.
Original issue reported on code.google.com by [email protected]
on 8 Feb 2013 at 8:55
What steps will reproduce the problem?
1. Creating a service ticket for uploading a file with the query
GTLQueryYouTube *query = [GTLQueryYouTube queryForVideosInsertWithObject:video
part:@"snippet,status"
uploadParameters:uploadParameters];
The query is fine, unchanged, and has only stopped working since i implemented G+ sign in.
2. Attempting to execute the query using
_uploadFileTicket = [service executeQuery:query
completionHandler:^(GTLServiceTicket *ticket,
GTLYouTubeVideo *uploadedVideo,
NSError *error) {
// Callback
NSLog(@"Here!");
//More stuff including error handling
3.
What is the expected output? What do you see instead? Expected at least 'Here'
to log, and any errors to be handled following the unsuccessful upload. Instead
nothing appears, the query just doesnt execute.
What version of the product are you using? On what operating system?
Latest svn on 10.8.4 xCode 5.
Please provide any additional information below.
How would i go about tracing where this ticket gets stuck? I just cant follow
it at all. Im so confused. Any help on how to start fresh and re-do this all
would be great.
No compiler errors/warnings associated.
Original issue reported on code.google.com by [email protected]
on 20 Sep 2013 at 9:05
What steps will reproduce the problem?
1. Make a new gmail account
2. using GTMOAuth2ViewControllerTouch initWithScope:kGTLAuthScopeYouTube log
the user in
3. need a way to determine if logged in YouTube account is "linked" (which I
think is just another way of saying YT channel has been setup for the gmail
account).
What is the expected output? What do you see instead?
Ideally when a user logs into a YT account they haven't set up yet, the login
screen would take them to this page:
https://m.youtube.com/create_channel?chromeless=1&next=/channel_creation_done
Alternately we'd like a sure-fire way to determine if this needs to be done. I
had been getting the channel list for the user and if the channel title was
nil/empty using that as the indicator. But a couple weeks ago it changed to not
returning an error. Is that sufficient evidence for determining "linked"
status?
What version of the product are you using? On what operating system?
Most recent GTL on iOS
Original issue reported on code.google.com by [email protected]
on 2 Jul 2013 at 4:11
What steps will reproduce the problem?
1. [GTMHTTPFetcher setLoggingEnabled:YES];
2. Use various GTL calls which generate logs on the device
3. Open iTunes, go to device, Apps, File Sharing, Documents folder for app -
can't download folder, permission denied
What is the expected output? What do you see instead?
Ability to download these logs without having to download the whole app via
xcode. Unfortunately iTunes doesn't allow it to be downloaded due to folder
permissions (S_IRWXU)
Original issue reported on code.google.com by [email protected]
on 2 Jul 2013 at 4:38
Attempting to query for folders for
mimeType='application/vnd.google-apps.folder' doesn't provide any results, even
though no error is received.
What steps will reproduce the problem?
1. Set up a new GTLQueryDrive object GTLQueryDrive *query = [GTLQueryDrive
object];
2. Set the q parameter: query.q =
@"mimeType='application/vnd.google-apps.folder'";
3. Execute query and NSLog the result.
What is the expected output? What do you see instead?
I expect to get a GTLDriveFilesList populated with all the folders in my Drive
account. Instead I get a GTLDriveFilesList that only has two properties, the
etag and kind. This is the console output:
GTLDriveFileList 0x107d5020: {kind:"drive#fileList"
etag:""Q5ElJByAJoL0etObruYVPRipH1k/vyGp6PvFo4RvsFtPoIWeCReyIC8""}
What version of the product are you using? On what operating system?
Google API Client Library for iOS and the Google Drive wrappers. This is on the
iOS 6.1 simulator.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 18 Aug 2013 at 3:01
What steps will reproduce the problem?
1. Run ServiceGenerator in Mavericks. Receive error message:
2013-10-30 18:20:15.967 ServiceGenerator[3321:507] 10.4-style NSDateFormatter
method called on a 10.0-style formatter, which doesn't work. Break on
_NSDateFormatter_Log_New_Methods_On_Old_Formatters to debug. This message will
only be logged once.
What version of the product are you using? On what operating system?
Latest svn version; os x 10.9
Please provide any additional information below.
I have attached the solution required:
Index: Source/Tools/ServiceGenerator/FHGenerator.m
===================================================================
--- Source/Tools/ServiceGenerator/FHGenerator.m (revision 371)
+++ Source/Tools/ServiceGenerator/FHGenerator.m (working copy)
@@ -954,6 +954,7 @@
NSLocale *enUSLocale = [[[NSLocale alloc] initWithLocaleIdentifier:@"en_US"] autorelease];
NSDateFormatter *formatter = [[[NSDateFormatter alloc] initWithDateFormat:@"%Y"
allowNaturalLanguage:NO] autorelease];
+ [formatter setFormatterBehavior:NSDateFormatterBehavior10_4];
[formatter setLocale:enUSLocale];
NSString *yearStr = [formatter stringFromDate:[NSDate date]];
Index: Source/Tools/ServiceGenerator/FHMain.m
===================================================================
--- Source/Tools/ServiceGenerator/FHMain.m (revision 371)
+++ Source/Tools/ServiceGenerator/FHMain.m (working copy)
@@ -212,6 +212,7 @@
NSDateFormatter *formatter =
[[[NSDateFormatter alloc] initWithDateFormat:@"%Y"
allowNaturalLanguage:NO] autorelease];
+ [formatter setFormatterBehavior:NSDateFormatterBehavior10_4];
[formatter setLocale:enUSLocale];
NSString *yearStr = [formatter stringFromDate:[NSDate date]];
Original issue reported on code.google.com by [email protected]
on 31 Oct 2013 at 1:34
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
When I'm trying to checkout latest version with command
svn checkout http://google-api-objectivec-client.googlecode.com/svn/trunk/
google-api-objectivec-client-read-only
following error message appear:
svn: E170000: Unrecognized URL scheme for
'http://google-api-objectivec-client.googlecode.com/svn/trunk'
Is there any solution for this ?
Original issue reported on code.google.com by [email protected]
on 3 Aug 2013 at 10:29
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:
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.