vijayhike / google-api-objectivec-client

Automatically exported from code.google.com/p/google-api-objectivec-client
0 stars 0 forks source link

Google Plus API: Crash when tapping "Public" in share dialog #48

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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 hoangson...@gmail.com on 9 Oct 2013 at 11:18

GoogleCodeExporter commented 9 years ago
This issue tracker is specific to bugs and feature requests for the Google API 
Client Library for Objective-C.

For Google+ SDK questions, please see the "Community & Support" area of 
https://developers.google.com/+/api/

Original comment by grobb...@google.com on 9 Oct 2013 at 8:37

GoogleCodeExporter commented 9 years ago
Thanks you so much, I posted this question in "Community & Support"

Original comment by hoangson...@gmail.com on 10 Oct 2013 at 2:40