{"id":169,"date":"2016-02-25T23:36:35","date_gmt":"2016-02-25T15:36:35","guid":{"rendered":"http:\/\/www.yusian.com\/blog\/?p=169"},"modified":"2016-07-12T15:26:29","modified_gmt":"2016-07-12T07:26:29","slug":"cannot-find-protocol-definition-for-tencentsessiondelegate","status":"publish","type":"post","link":"https:\/\/www.yusian.com\/blog\/analysis\/2016\/02\/25\/233635169.html","title":{"rendered":"cannot find protocol definition for &#8216;TencentSessionDelegate&#8217;"},"content":{"rendered":"<p>iOS\u9879\u76ee\u4e2d\u5728\u4f7f\u7528QQSDK\u767b\u5f55\u65f6\uff0c\u51fa\u73b0\u8b66\u544a\uff1acannot find protocol definition for &#8216;TencentSessionDelegate&#8217;<br \/>\n\u8fd9\u662f\u56e0\u4e3aTencentSessionDelegate \u7ee7\u627f\u81ea TencentApiInterfaceDelegate \uff0c\u6ca1\u6709\u5f15\u5165\u8fd9\u4e2a\u5305\uff0c\u56e0\u6b64\u4f1a\u6709\u8b66\u544a\uff0c\u817e\u8baf\u4e0d\u4e25\u8c28\uff01<br \/>\n\u5176\u5b9e\u4e0d\u5f71\u54cd\u4f7f\u7528\uff0c\u4f46\u4e0d\u723d\uff0c\u8981\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff0c\u6211\u4eec\u53ef\u4ee5\u5728\u8b66\u544a\u7684\u9875\u9762\u4e2d\u5f15\u5165<\/p>\n<pre lang=\"objc\" line=\"1\">#import &lt;TencentOpenAPI\/TencentApiInterface.h&gt;<\/pre>\n<p>\u5373\u53ef\u89e3\u51b3\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>iOS\u9879\u76ee\u4e2d\u5728\u4f7f\u7528QQSDK\u767b\u5f55\u65f6\uff0c\u51fa\u73b0\u8b66\u544a\uff1acannot find protocol definition for &#8216;TencentSessionDelegate&#8217; \u8fd9\u662f\u56e0\u4e3aTencentSessionDelegate \u7ee7\u627f\u81ea TencentApiInterfaceDelegate \uff0c\u6ca1\u6709\u5f15\u5165\u8fd9\u4e2a\u5305\uff0c\u56e0\u6b64\u4f1a\u6709\u8b66\u544a\uff0c\u817e\u8baf\u4e0d\u4e25\u8c28\uff01 \u5176\u5b9e\u4e0d\u5f71\u54cd\u4f7f\u7528\uff0c\u4f46\u4e0d\u723d\uff0c\u8981\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff0c\u6211\u4eec\u53ef\u4ee5\u5728\u8b66\u544a\u7684\u9875\u9762\u4e2d\u5f15\u5165 #import &lt;TencentOpenAPI\/TencentApiInterface.h&gt; \u5373\u53ef\u89e3\u51b3\uff01<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-169","post","type-post","status-publish","format-standard","hentry","category-analysis"],"_links":{"self":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts\/169","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/comments?post=169"}],"version-history":[{"count":0,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/posts\/169\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/media?parent=169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/categories?post=169"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yusian.com\/blog\/wp-json\/wp\/v2\/tags?post=169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}