ios - 迦太基访问 token

标签 ios git carthage

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

使用“carthage update --platform iOS”后,收到一封来自 github 的电子邮件,说“您使用密码通过 GitHub API 使用 org.carthage.CarthageKit/0.34.0 访问端点”,并且不推荐使用基本身份验证。我需要做什么来解决这个问题?

最佳答案

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

在 Mac 上,如果您使用 credential-osxkeychain 凭证助手,您的凭证将存储在钥匙串(keychain)中。

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

我不得不删除这两个 github.comgcm4ml:git:https://github.com将密码存储在钥匙串(keychain)中。

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

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

关于ios - 迦太基访问 token ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60875040/

相关文章:

iphone - 应用程序退出并返回主屏幕,可以尝试+捕获处理吗?

javascript - react native : Allow device rotation only when webview plays video

linux - 如何自动将代码从本地存储库推送到远程 bitbucket 存储库?

git - Tortoisegit:如何从新的远程分支获取?

ios - 模块文件是由较新版本的编译器创建的

ios - 如何修复 'Video play but don' t have sound on iOS with expo'

ios - InsertRow 动画将 UITableView 向上滚动

Github 仓库 - 'fatal: Could not read from remote repository.'

iOS Carthage "project has no shared schemes"即使使用手动 xcodebuild

ios - 链接器命令失败,退出代码 1(使用 -v 查看调用),Xcode 8,Swift 3