您的位置:首页 > 移动开发 > IOS开发

友盟分享Twitter出现 "Attempt made to Log in or Like a Tweet without a valid Twitter Kit URL Scheme set up

2017-12-06 16:58 736 查看

友盟分享Twitter出现 “Attempt made to Log in or Like a Tweet without a valid Twitter Kit URL Scheme set up in the app settings. “

在使用友盟分享分享到Twitter时候出现 ““Attempt made to Log in or Like a Tweet without a valid Twitter Kit URL Scheme set up in the app settings. Please see https://dev.twitter.com/twitterkit/ios/installation for more info“”时,是由于没有在Info.plist中配置URL Types。如下图所示:





<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLSchemes</key>
<array>
<string>wb1234567890</string>
</array>
</dict>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLSchemes</key>
<array>
<string>twitterkit-1234567890</string>
</array>
</dict>
</array>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
相关文章推荐