迦太基访问令牌

问题描述 投票:2回答:1

我使用Carthage作为我的iOS应用程序的依赖项管理器。

[使用'carthage update --platform iOS'后收到来自github的电子邮件,其中说:'您使用密码使用org.carthage.CarthageKit / 0.34.0通过GitHub API访问端点,并且不赞成使用基本身份验证。我需要怎么做才能解决此问题?

ios git carthage
1个回答
0
投票

要解决此问题,在您的CLI /终端中,您需要用GitHub个人访问令牌替换缓存的GitHub密码。

在Mac上,如果您使用凭据-osxkeychain凭据帮助程序,则您的凭据存储在钥匙串中。

请参阅以下说明:Updating credentials from the OS X Keychain

我必须同时删除钥匙串中存储的github.comgcm4ml:git:https://github.com密码。

要创建个人访问令牌,请参阅以下说明:Creating a personal access token for the command line

下次git要求您输入密码时,请使用个人访问令牌。

© www.soinside.com 2019 - 2024. All rights reserved.