UNRESOLVED:协议“https”在libcurl中不受支持或禁用 [英] UNRESOLVED: Protocol "https" not supported or disabled in libcurl
问题描述
这是我的Podfile内容:
platform:ios,'8.0'
use_frameworks!
target'Project-Name'do
pod'Firebase / Core'
pod'Firebase / Messaging'
end
将 pod'GoogleMaps'
添加到
$ b
在终端上运行 pod install --verbose命令
时出错
[!]安装Firebase错误
[!] / usr / local / bin / curl -f -L -o / var / folders / 1t / 102_4r0x1_3_5dlq8zdbm27r0000gn / T / d20160902-4388-1omozrn / file.tgz https://www.gstatic.com/cpdc/cc5f7aac07ccdd0a/Firebase-3.5.0.tar.gz --create-dirs --netrc-optional
curl:(1)协议https在libcurl中不被支持或禁用
编辑1: -mac-os-x>如何在Mac OS X上启用curl SSL?
$ b
./ configure --with -darwinssl
不工作。
-bash:./configure:没有这样的文件或目录
编辑2: 这个命令 这个命令不起作用: 编辑:3 终端命令 运行 sudo:port:command not found 安装端口(MacPorts )使用下面的链接,它也是一个 HTTPS 链接: 但是如何处理 编辑5:强制卸载curl并再次安装不起作用:($ / b> 您可能需要更新git。一种方法: 更多此处 The question might look duplicate, but none of the available solution worked for me. So, here are the Details and What I have tried so far. Here's my Podfile content: Same error occurs while adding Error while running
Edit 1: How do I enable curl SSL on Mac OS X? -bash: ./configure: No such file or directory
Edit 2: How do I enable https support in libcurl? This command This command not working:
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump: '/usr/local/bin/git/libexec/git-core/git-http-push': Not a directory.
fatal error: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool: internal objdump command failed
Binary file /usr/lib/libcurl.4.dylib matches
Edit:3 Terminal command Edit:4 Enabling HTTPS Support in Curl Installed Through MacPorts on OSX Running either sudo: port: command not found And to install ports(MacPorts) following link is used, which again is an HTTPS link: There also a download option of MacPort folder? But what to do with that downloaded EDIT 5: Force uninstall curl and installing again didn't work :(
You might need to update git. One way: More here 这篇关于UNRESOLVED:协议“https”在libcurl中不受支持或禁用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
brew安装curl --with-libssh2
在终端上执行,但不知道下一步该怎么做:
UB:lib aspl $ brew install curl --with-libssh2 --verbose
$
==>自动更新自制软件!
更新了1个水龙头(自制/核心)。
不改变公式。
警告:curl-7.50.1已经安装
UB:lib aspl $ curl --version
curl 7.48.0(x86_64-apple-darwin14.5.0)libcurl / 7.48 .0 zlib / 1.2.5
协议:dict文件ftp gopher http imap ldap ldaps pop3 rtsp smtp telnet tftp
特性:IPv6大文件libz UnixSockets
$ b
$ p $ $ otool -L / usr / local / git / libexec / git-core / git-http-push | grep curl
/usr/lib/libcurl.4.dylib
致命错误:/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool:内部objdump命令失败
二进制文件/usr/lib/libcurl.4 .dylib匹配
其中git
显示 / usr / local / bin / git
< hr />
sudo port install curl + ssl
或 sudo port uninstall curl
说:
$ b $ curl -O https:// distfil还有一个下载选项的MacPort文件夹?
MacPorts-2.3.4
文件夹?
$ brew uninstall curl
卸载/usr/local/Cellar/curl/7.50.1 ...(366个文件,2.6M)
curl 7.46.0仍然安装。
使用'brew uninstall --force curl`将它们全部删除。
$ brew卸载--force curl
卸载curl ...(360文件,2.6M)
$ brew install curl --with-libssh2 --verbose
错误:curl 7.50.2没有建立
日志:
/Users/aspl/Library/Logs/Homebrew/curl/01.configure
/ Users / aspl / Library / Logs / Homebrew / curl / 01 .configure.cc
/Users/aspl/Library/Logs/Homebrew/curl/02.make
/Users/aspl/Library/Logs/Homebrew/curl/config.log
这些开放的问题可能也有帮助:
curl:迁移到openssl@1.1 https://github.com/Homebrew/homebrew-core/pull/4591
brew install git
platform :ios, ‘8.0’
use_frameworks!
target 'Project-Name' do
pod 'Firebase/Core'
pod 'Firebase/Messaging'
end
pod 'GoogleMaps'
into Podfile.pod install --verbose command
on Terminal:[!] Error installing Firebase
[!] /usr/local/bin/curl -f -L -o /var/folders/1t/102_4r0x1_3_5dlq8zdbm27r0000gn/T/d20160902-4388-1omozrn/file.tgz https://www.gstatic.com/cpdc/cc5f7aac07ccdd0a/Firebase-3.5.0.tar.gz --create-dirs --netrc-optional
curl: (1) Protocol "https" not supported or disabled in libcurl
./configure --with-darwinssl
not working.
brew install curl --with-libssh2
is executed on terminal, but don't know what to do next:UB:lib aspl$ brew install curl --with-libssh2 --verbose
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
No changes to formulae.
Warning: curl-7.50.1 already installed
UB:lib aspl$ curl --version
curl 7.48.0 (x86_64-apple-darwin14.5.0) libcurl/7.48.0 zlib/1.2.5
Protocols: dict file ftp gopher http imap ldap ldaps pop3 rtsp smtp telnet tftp
Features: IPv6 Largefile libz UnixSockets
$ otool -L /usr/local/git/libexec/git-core/git-http-push | grep curl
/usr/lib/libcurl.4.dylib
which git
shows /usr/local/bin/git
sudo port install curl +ssl
or sudo port uninstall curl
says:
$ curl -O https://distfiles.macports.org/MacPorts/MacPorts-2.3.4.tar.bz2
MacPorts-2.3.4
folder?$ brew uninstall curl
Uninstalling /usr/local/Cellar/curl/7.50.1... (366 files, 2.6M)
curl 7.46.0 is still installed.
Remove them all with `brew uninstall --force curl`.
$ brew uninstall --force curl
Uninstalling curl... (360 files, 2.6M)
$ brew install curl --with-libssh2 --verbose
Error: curl 7.50.2 did not build
Logs:
/Users/aspl/Library/Logs/Homebrew/curl/01.configure
/Users/aspl/Library/Logs/Homebrew/curl/01.configure.cc
/Users/aspl/Library/Logs/Homebrew/curl/02.make
/Users/aspl/Library/Logs/Homebrew/curl/config.log
These open issues may also help:
curl: migrate to openssl@1.1 https://github.com/Homebrew/homebrew-core/pull/4591
brew install git