Ios 首先注册客户端IBM Mobile时出错

Ios 首先注册客户端IBM Mobile时出错,ios,ibm-cloud,ibm-mobilefirst,ibm-mobile-services,Ios,Ibm Cloud,Ibm Mobilefirst,Ibm Mobile Services,我正在使用IBM Mobile First Starter pack,无法找到如何解决错误“注册客户端时出错”。有办法调试这个吗?这从昨天开始出现在我的移动应用程序上,从今天早上开始也出现在我的模拟器上。我怀疑我的模拟器工作了,因为它正在缓存凭据 2015-11-26 18:44:54.835 bluelist-objective-c[32334:2189606] Intializing IMFCLient 2015-11-26 18:44:54.836 bluelist-objective-c

我正在使用IBM Mobile First Starter pack,无法找到如何解决错误“注册客户端时出错”。有办法调试这个吗?这从昨天开始出现在我的移动应用程序上,从今天早上开始也出现在我的模拟器上。我怀疑我的模拟器工作了,因为它正在缓存凭据

2015-11-26 18:44:54.835 bluelist-objective-c[32334:2189606] Intializing IMFCLient
2015-11-26 18:44:54.836 bluelist-objective-c[32334:2189606] IapplicationRoute [appurl]
2015-11-26 18:44:54.836 bluelist-objective-c[32334:2189606] IapplicationId [app id]
2015-11-26 18:44:55.286 bluelist-objective-c[32334:2189606] [ERROR] [IMF_REQUEST] -
[IMFAuthorizationRequest requestFailed:error:] in IMFAuthorizationRequest.m:368 :: 
Status code='400' error='Expected status code in (200-299), got 400' response='Error 
registering client'
2015-11-26 18:44:55.289 bluelist-objective-c[32334:2189606] [ERROR] [IMF] -
[IMFAuthorizationRequest requestFailed:error:] in IMFAuthorizationRequest.m:372 :: 
Error=Error Domain=WLAFNetworkingErrorDomain Code=-1011 "Expected status code in (200-299), 
got 400" UserInfo={WLAFNetworkingOperationFailingURLRequestErrorKey=<NSMutableURLRequest: 
0x7ff9714135b0> { URL: [appurl]/imf-authserver/authorization/v1/apps/
6e88ec09-fa48-4848-aeef-8fe59c3226e9/clients/instance }, NSLocalizedRecoverySuggestion=
Error registering client, NSErrorFailingURLKey=[appurl]/imf-authserver/authorization/v1/
apps/6e88ec09-fa48-4848-aeef-8fe59c3226e9/clients/instance, 
WLAFNetworkingOperationFailingURLResponseErrorKey
=<NSHTTPURLResponse: 0x7ff971536660> { URL: [appurl]/imf-authserver/authorization/v1/apps/
6e88ec09-fa48-4848-aeef-8fe59c3226e9/clients/instance } { status code: 400, headers {
    Connection = "Keep-Alive";
    "Content-Type" = "text/plain";
    Date = "Fri, 27 Nov 2015 02:44:55 GMT";
    "Transfer-Encoding" = Identity;
    "X-Backside-Transport" = "FAIL FAIL";
    "X-Cf-Requestid" = "aad33684-69d5-4535-433a-216e141a3d2d";
    "X-Client-IP" = "50.174.210.191";
    "X-Global-Transaction-ID" = 1566005617;
    "X-Powered-By" = "Servlet/3.0";
} }, NSLocalizedDescription=Expected status code in (200-299), got 400}
2015-11-26 18:44:54.835 bluelist-objective-c[32334:2189606]初始化IMFCLient
2015-11-26 18:44:54.836 bluelist-objective-c[32334:2189606]IapplicationRoute[appurl]
2015-11-26 18:44:54.836 bluelist-objective-c[32334:2189606]iaapplicationid[app id]
2015-11-26 18:44:55.286 bluelist-objective-c[32334:2189606][错误][IMF_请求]-
[IMFAuthorizationRequestFailed:错误:]在IMFAuthorizationRequest中。m:368::
状态代码='400'错误='预期状态代码在(200-299)中,得到400'响应='错误
注册客户的
2015-11-26 18:44:55.289 bluelist-objective-c[32334:2189606][错误][IMF]-
[IMFAuthorizationRequestFailed:错误:]在IMFAuthorizationRequest中。m:372::
错误=错误域=WLAFNetworkingErrorDomain代码=-1011“预期状态代码位于(200-299),
已获取400“UserInfo={WLAFNetworkingOperationFailingURLRequestErrorKey={URL:[appurl]/imf authserver/authorization/v1/apps/
6e88ec09-fa48-4848-aeef-8fe59c3226e9/clients/instance},NSLocalizedRecoverySuggestion=
注册客户端时出错,NSErrorFailingURLKey=[appurl]/imf authserver/authorization/v1/
apps/6e88ec09-fa48-4848-aeef-8fe59c3226e9/clients/instance,
WLAFNetworkingOperationFailingURLResponseErrorKey
={URL:[appurl]/imf authserver/authorization/v1/apps/
6e88ec09-fa48-4848-aeef-8fe59c3226e9/clients/instance}{状态代码:400,标题{
连接=“保持活动”;
“内容类型”=“文本/普通”;
日期=“2015年11月27日星期五02:44:55 GMT”;
“传输编码”=标识;
“X-背面传输”=“失败”;
“X-Cf-Requestid”=“aad33684-69d5-4535-433a-216e141a3d2d”;
“X-Client-IP”=“50.174.210.191”;
“X-Global-Transaction-ID”=156605617;
“X-Powered-By”=“Servlet/3.0”;
}},NSLocalizedDescription=在(200-299)中预期状态代码,获得400}

重置模拟器或删除应用程序并重新安装。该错误不应再次发生:

重置模拟器或删除应用程序并重新安装。该错误不应再次发生:

对于URL:“fbauth2:/”
错误表示您的Info.plist安全设置有问题。首先,我要确认或将以下LSApplicationQueriesSchemes值添加到您的Info.plist

根据Facebook的建议

LSApplicationQueriesSchemes

并且对于URL:“fbauth2://”的
canOpenURL:失败
错误表示您的Info.plist安全设置存在问题。首先,我要确认或将以下LSApplicationQueriesSchemes值添加到您的Info.plist

根据Facebook的建议

LSApplicationQueriesSchemes

而且

我已经尝试重置模拟器并重新安装应用程序。2015-11-27 15:15:46.708 bluelist-objective-c[4406:115870]-canOpenURL:URL失败:“fbauth2://”-错误:“(null)”2015-11-27 15:16:17.162 bluelist-objective-c[4406:115870][error][IMF_请求]-[imfauthoritionRequest失败:imfauthoritionRequest中的错误:。m:368::Status code='400'error='预期状态代码(200-299),获得400'响应='{“错误”:“未经授权的客户端”,“错误描述”:“未知客户端”}'我已尝试重置模拟器并重新安装应用程序。2015-11-27 15:15:46.708 bluelist-objective-c[4406:115870]-canOpenURL:URL失败:“fbauth2://”-错误:“(null)”2015-11-27 15:16:17.162 bluelist-objective-c[4406:115870][error][IMF_请求]-[imfauthoritionRequest失败:imfauthoritionRequest中的错误:。m:368::Status code='400'error='预期状态代码(200-299),获得400'响应='{“错误”:“未经授权的客户端”,“错误描述”:“未知客户端”}
<key>LSApplicationQueriesSchemes</key>
<array>
    <string>fbapi</string>
    <string>fbapi20130214</string>
    <string>fbapi20130410</string>
    <string>fbapi20130702</string>
    <string>fbapi20131010</string>
    <string>fbapi20131219</string>    
    <string>fbapi20140410</string>
    <string>fbapi20140116</string>
    <string>fbapi20150313</string>
    <string>fbapi20150629</string>
    <string>fbauth</string>
    <string>fbauth2</string>
    <string>fb-messenger-api20140430</string>
</array>
<key>NSAppTransportSecurity</key>
<dict>
  <key>NSAllowsArbitraryLoads</key>
      <true/>
</dict>