简体   繁体   English

Quickblox IOS SDK 2.6.2问题

[英]Quickblox IOS SDK 2.6.2 issue

I have downloaded the Quickblox IOS SDK version 2.6.2. 我已经下载了Quickblox IOS SDK版本2.6.2。

There are some demo Project in SDK. SDK中有一些演示项目。 Like "sample-chat" 就像“样本聊天”

I have replaced the "kApplicationID" "kAuthKey" "kAuthSecret" "kAccountKey" 我已替换为“ kApplicationID”,“ kAuthKey”,“ kAuthSecret”,“ kAccountKey”

But when i run the project its giving the below error:- 但是当我运行该项目时,出现以下错误:-

[QBCore] Response error: Error Domain=com.alamofire.error.serialization.response Code=-1011 "Request failed: not found (404)" UserInfo={com.alamofire.serialization.response.error.response=<NSHTTPURLResponse: 0x7f95b2df65f0> { URL: https://api.quickblox.com/users/by_tags.json?page=1&per_page=100&tags=dev } { status code: 404, headers {
    "Access-Control-Allow-Origin" = "*";
    "Cache-Control" = "no-cache";
    Connection = "keep-alive";
    "Content-Length" = 1;
    "Content-Type" = "application/json; charset=utf-8";
    Date = "Wed, 20 Jan 2016 11:00:56 GMT";
    "QB-Token-ExpirationDate" = "2016-01-20 12:59:20 UTC";
    "QuickBlox-REST-API-Version" = "0.1.1";
    Server = "nginx/1.6.2";
    Status = "404 Not Found";
    "X-Rack-Cache" = miss;
    "X-Request-Id" = 8341005e68907408343438e49020e8dc;
    "X-Runtime" = "0.040315";
    "X-UA-Compatible" = "IE=Edge,chrome=1";
} }, NSErrorFailingURLKey=https://api.quickblox.com/users/by_tags.json?page=1&per_page=100&tags=dev, com.alamofire.serialization.response.error.data=<20>, NSLocalizedDescription=Request failed: not found (404)}

404 error means there are no users with tag dev in your application. 404错误表示您的应用程序中没有标签为dev的用户。

Please add/register at least one user in your application. 请在您的应用程序中添加/注册至少一个用户。

And please update to 2.6.3 to see error details and reasons. 并请更新至2.6.3,以查看错误详细信息和原因。

Please go to Admin panel : 请转到管理面板:

Step 1 : https://admin.quickblox.com/signin . 步骤1: https//admin.quickblox.com/signin

Step 2 : Login with Valid credentials. 第2步:使用有效凭据登录。

Step 3 : Go to USer >Click On Id 第3步:转到用户>点击ID

Step 4: Edit User tag as == dev 步骤4:将User标签编辑为== dev

Do the same for all the users. 对所有用户执行相同的操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM