我正在使用UberKit将 Uber API 集成到我的应用程序中。
按下我的登录按钮调用[uberKit startLogin];
具有clientID
、、、clientSecret
和设置。applicationName
redirectURL
delegate
应用程序从 Safari 使用授权码返回后,我无法获得经过身份验证的令牌!getAuthTokenForCode:
它总是在以下功能上失败UberKit.m
:
Error in sending request for access token Error Domain=NSURLErrorDomain Code=-1012 "The operation couldn’t be completed. (NSURLErrorDomain error -1012.)" UserInfo=0x16e7edf0 {NSErrorFailingURLKey=https://login.uber.com/oauth/token, NSErrorFailingURLStringKey=https://login.uber.com/oauth/token, NSUnderlyingError=0x16e7d600 "The operation couldn’t be completed. (kCFErrorDomainCFNetwork error -1012.)"}
你能告诉我可能出了什么问题吗?
提前致谢