Parse.com iOS [pod解析]错误。

时间:2021-02-22 16:27:48

I'm building a simple app, as it is described on this tutorial: Instagram like app

我正在构建一个简单的应用程序,如本教程所述:Instagram like app

However, I've made all the steps correctly, to the "Run the app" part, but when I ran it, the Xcode 7 (swift2) outputs this error every time I launch the app or pull to refresh:

但是,对于“运行app”部分,我已经正确地完成了所有的步骤,但是当我运行它时,Xcode 7 (swift2)每次我启动app或拉出刷新时都会输出这个错误:

2015-09-20 00:46:41.224 Paws2[1196:393571] [Error]: unauthorized (Code: 0, Version: 1.8.5)

[1196:393571][错误]:未授权(码:0,版本:1.8.5)

I'm using the latest pod available and I don't know how to bypass this issue.

我正在使用最新的pod,我不知道如何绕过这个问题。

Note that I've made an exactly app as described in the tutorial with the version 1.7.5 and the error was the same, so I updated the pos version to the latest.

注意,我用1.7.5版本制作了一个与教程中描述的完全一样的应用程序,错误是相同的,所以我将pos版本更新为最新版本。

I've names the app Paws2 on purpose, it wasn't a error, as it says in the Tutorial to name it 'Paws'.

我故意给这款应用取名为Paws2,它并不是一个错误,就像它在教程中说的那样,把它命名为“Paws”。

Thanks in advance - Regards, Ivan.

提前谢谢你,伊凡。

EDIT 1: I've updated cocoapods and everything else related and the error continues.

编辑1:我已经更新了可可豆和其他相关的东西,错误还在继续。

1 个解决方案

#1


2  

I had a same error too. My case was silly. I put wrong Application ID / Client Key in didFinishLaunchingWithOptions method on AppDelegate.

我也犯了同样的错误。我的情况是愚蠢的。我在AppDelegate的didFinishLaunchingWithOptions方法中输入了错误的应用程序ID / Client键。

[Parse setApplicationId:@“Your Application ID"
              clientKey:@“Your Client Key"];

Make sure you put right keys.

一定要把钥匙放好。

#1


2  

I had a same error too. My case was silly. I put wrong Application ID / Client Key in didFinishLaunchingWithOptions method on AppDelegate.

我也犯了同样的错误。我的情况是愚蠢的。我在AppDelegate的didFinishLaunchingWithOptions方法中输入了错误的应用程序ID / Client键。

[Parse setApplicationId:@“Your Application ID"
              clientKey:@“Your Client Key"];

Make sure you put right keys.

一定要把钥匙放好。