使用LinkedIn iOS SDK进行身份验证时出错 [英] Error authenticating using LinkedIn iOS SDK

查看:247
本文介绍了使用LinkedIn iOS SDK进行身份验证时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经下载了LinkedIn iOS SDK,其中包括两个示例应用程序.但是,当我同时尝试两个应用程序时,都会出现此错误:

I have downloaded LinkedIn iOS SDK which includes two sample applications. However, when I try both applications I get this error:

错误=错误域= LISDKAuthError代码= 5操作无法完成.(LISDKAuthError错误5.)" UserInfo = 0x174260840 {errorDescription =意外服务器错误,originalDomain = LISDKServerError,errorInfo = SERVER_ERROR}

ERROR = Error Domain=LISDKAuthError Code=5 "The operation couldn’t be completed. (LISDKAuthError error 5.)" UserInfo=0x174260840 {errorDescription=Unexpected Server Error, originalDomain=LISDKServerError, errorInfo=SERVER_ERROR}

此外,我尝试通过以下链接创建自己的LinkedIn应用程序:此处,并且使用以下方法初始化与LinkedIn的连接时,会发生相同的错误:

Also, I have tried creating my own LinkedIn app by following this link here and the same error occurs when initialize a connection to LinkedIn using this method:

createSessionWithAuth:scope:state:showGoToAppStoreDialog: successBlock:errorBlock

任何主意出了什么问题吗?

Any idea what went wrong?

推荐答案

iOS中添加捆绑标识符后,我遇到了相同的错误,并为我工作.

I had the same error and works for me after add the Bundle Identifier in the iOS.

例如. com.example.App

这篇关于使用LinkedIn iOS SDK进行身份验证时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆