最新消息:VPS服务器又从fzhost.net换回Linode了,主题仍用朋友推荐的大前端D8

[已解决]Carthage更新失败:Failed to connect to github.com port 443 Operation timed out

Carthage crifan 574浏览 0评论

别人那里:

对于正常的Carthage的配置,比如:

github “SwiftyJSON/SwiftyJSON”

去更新:

carthage update –platform iOS

结果失败:

*** Fetching SwiftyJSONA shell task (/usr/bin/env git fetch –prune –quiet https://github.com/SwiftyJSON/SwiftyJSON.git refs/tags/*:refs/tags/* +refs/heads/*:refs/heads/*) failed with exit code 128:fatal: unable to access ‘https://github.com/SwiftyJSON/SwiftyJSON.git/’: Failed to connect to github.com port 443: Operation timed out

注:

此处,是正常可以翻墙的,也是可以正常可以打开github的

搜:

Failed to connect to github.com port 443: Operation timed out

carthage update Failed to connect to github.com port 443: Operation timed out

github shortcut in Cardfile do not use given url · Issue #1087 · Carthage/Carthage

Failed to connect to github.com port 443: connection refused · Issue #10037 · npm/npm

git – GitHub – failed to connect to github 443 windows/ Failed to connect to gitHub – No Error – Stack Overflow

openstack nova – getting 443 error while checking out code from github – Stack Overflow

去试试:

  QorosSales carthage help
Available commands:
   archive           Archives built frameworks into a zip that Carthage can use
   bootstrap         Check out and build the project’s dependencies
   build             Build the project’s dependencies
   checkout          Check out the project’s dependencies
   copy-frameworks   In a Run Script build phase, copies each framework specified by a SCRIPT_INPUT_FILE environment variable into the built app bundle
   fetch             Clones or fetches a Git repository ahead of time
   help              Display general or command-specific help
   outdated          Check for compatible updates to the project’s dependencies
   update            Update and rebuild the project’s dependencies
   version           Display the current version of Carthage
➜  QorosSales carthage update help
*** Fetching Charts
^C
➜  QorosSales
➜  QorosSales
➜  QorosSales carthage help update
Update and rebuild the project’s dependencies
[–configuration (string)]
the Xcode configuration to build (ignored if –no-build option is present)
[–platform (platform)]
the platforms to build for (one of ‘all’, ‘Mac’, ‘iOS’, ‘watchOS’, ‘tvOS’, or comma-separated values of the formers except for ‘all’)
(ignored if –no-build option is present)
[–derived-data (string)]
path to the custom derived data folder
[–verbose]
print xcodebuild output inline (ignored if –no-build option is present)
[–no-checkout]
skip the checking out of dependencies after updating
[–no-build]
skip the building of dependencies after updating (ignored if –no-checkout option is present)
[–use-ssh]
use SSH for downloading GitHub repositories
[–use-submodules]
add dependencies as Git submodules
[–no-use-binaries]
check out dependency repositories even when prebuilt frameworks exist, disabled if –use-submodules option is present (ignored if –no-build option is present)
[–color (color)]
whether to apply color and terminal formatting (one of ‘auto’, ‘always’, or ‘never’)
[–project-directory (string)]
the directory containing the Carthage project
[[]]
the dependency names to update, checkout and build

中的

–use-ssh

然后我本地此处

确定了,是好的:

-》证明了:

github和SwiftyJSON

没有问题

-》看来还是别人那里的网络环境,没法有效的翻墙,没法正常顺利的访问github。

[总结]

要确保自己的网络是好的,要确保自己的翻墙也是完全顺利没问题的。

然后才能保证:

<code>carthage update
</code>

去连接到github上下载和更新,是好的。

转载请注明:在路上 » [已解决]Carthage更新失败:Failed to connect to github.com port 443 Operation timed out

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
61 queries in 0.237 seconds, using 12.05MB memory