我正在使用新的 google-plus-ios-sdk-1.4.0 ( http://googleplusplatform.blogspot.com/2013/10/ios-sdk-1.4.0.html )。我已经按照http://www.riskcompletefailure.com/2013/10/google-ios-sdk-140-with-native-sharing.html上的演练以及 SDK 中的 GooglePlusSample.xcodeproj 进行了操作。
但是,我不断收到此异常。我已验证我已通过身份验证。我尝试过分享简单的文本、网址、深层链接和号召性用语,但我在下面不断收到此异常。
自发布以来不到一周,因此网络搜索没有任何内容。有人知道我做错了什么吗?
NSInvalidArgumentException "-[__NSCFString absoluteString]: unrecognized selector sent to instance 0x18168b00"
-[GPPService getPreviewForLinkAttachment:finished:] + 200,
-[GPPNativeShareComposeViewController loadPreviewForLink] + 366,
-[GPPNativeShareComposeViewController viewDidLoad] + 3048,
-[GPPNativeShareController openWithService:parameters:] + 940,
-[GPPNativeShareBuilderImpl open] + 322,
-[MBGooglePlusActivityProvider finishedWithAuth:error:] + 666,
__37-[GPPSignIn addCallDelegateCallback:]_block_invoke + 116,
-[GPPCallbackQueue fire] + 158,
__44-[GPPSignIn addFetchGooglePlusUserCallback:]_block_invoke_2 + 236,
-[GTLService handleParsedObjectForFetcher:] + 1136,
main + 116
2013-10-06 23:52:29.644 SampleApp[8755:60b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString absoluteString]: unrecognized selector sent to instance 0x18168b00'