CocoaPods:无法找到“TestFlightSDK (= 3.0.0)”的规范

CocoaPods: Unable to find a specification for `TestFlightSDK (= 3.0.0)`

我正在尝试

pod install

我收到以下错误:

[!] Unable to find a specification for TestFlightSDK (= 3.0.0)

我试过了

pod update

我得到同样的错误:

[!] Unable to find a specification for TestFlightSDK (= 3.0.0)

为什么会这样?

我尝试了以下方法,但仍然出现错误:

pod repo remove master

pod setup

我也做了一个

$pod repo list

并得到:

master - Type: git (master)

- URL: https://github.com/CocoaPods/Specs.git

- Path: /Users/myUser/.cocoapods/repos/master

然后我做了一个

$ pod search TestFlightSDK

它不能 pod:

[!] Unable to find a pod with name matching `TestFlightSDK'

在我看到更好的答案之前,我会自己回答这个问题: 根据下面的文章,Testflight shutdown and incorporated with iTunes connect or you can read it here straight from Apple.

此 pod 与 old TestFlight 有关,后者在被 Apple 收购后被关闭。

如果您在 https://cocoapods.org/?q=TestFlightSDK you can see that the Homepage links to http://www.testflightapp.com/ 查看 cocoapods.org 上的 pod 页面,这是旧的 TestFlight 网站,现在被重定向到 Apple 的新 TestFlight 介绍网站。

此外,如果您尝试打开 See Podspec link ( https://github.com/CocoaPods/Specs/blob/master/Specs/TestFlightSDK/3.0.2/TestFlightSDK.podspec.json ),它现在是一个 GitHub 404 页面。

新的 Apple TestFlight 服务还没有 SDK。