[!] Error installing TZImagePickerController
[!] /usr/bin/git clone https://github.com/banchichen/TZImagePickerController.git /var/folders/f4/x_qz73l14cj44189vx_vx8wh0000gn/T/d20211011-64899-1ev6k7r --template= --single-branch --depth 1 --branch 3.6.6
Cloning into '/var/folders/f4/x_qz73l14cj44189vx_vx8wh0000gn/T/d20211011-64899-1ev6k7r'...
fatal: unable to access 'https://github.com/banchichen/TZImagePickerController.git/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
看网上说在终端执行sudo gem install cocoapods 再执行pod update 或者pod install 都不行
报如下错误
[!] CocoaPods could not find compatible versions for pod "AAChartKit":
In snapshot (Podfile.lock):
AAChartKit (from `https://github.com/AAChartModel/AAChartKit.git`)
In Podfile:
AAChartKit (from `https://github.com/AAChartModel/AAChartKit.git`)
None of your spec sources contain a spec satisfying the dependencies: `AAChartKit (from `https://github.com/AAChartModel/AAChartKit.git`), AAChartKit (from `https://github.com/AAChartModel/AAChartKit.git`)`.
You have either:
* out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
* mistyped the name or version.
* not added the source repo that hosts the Podspec to your Podfile.
执行了pod repo update、pod install --repo-update都不行
最后把https://github.com/AAChartModel/AAChartKit.git改为:git://github.com/AAChartModel/AAChartKit.git 再执行pod install 就可以了