Closed TheLittleBoy closed 2 years ago
MBP:~ macbook$ pod search AliPlayerSDK_iOS [!] CDN: trunk Repo update failed - 10 error(s): CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/0/3/AliPlayerSDK_iOS_RTS/4.6.0/AliPlayerSDK_iOS_RTS.podspec.json Response: SSL connect error CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/0/3/AliPlayerSDK_iOS_RTS/4.7.0/AliPlayerSDK_iOS_RTS.podspec.json Response: SSL connect error CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/0/3/AliPlayerSDK_iOS_RTS/4.7.1/AliPlayerSDK_iOS_RTS.podspec.json Response: SSL connect error CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/0/3/AliPlayerSDK_iOS_RTS/4.7.2/AliPlayerSDK_iOS_RTS.podspec.json Response: SSL connect error CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/0/3/AliPlayerSDK_iOS_RTS/4.7.3/AliPlayerSDK_iOS_RTS.podspec.json Response: SSL connect error CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/0/3/AliPlayerSDK_iOS_RTS/4.7.4/AliPlayerSDK_iOS_RTS.podspec.json Response: SSL connect error CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/0/3/AliPlayerSDK_iOS_RTS/4.7.4.1/AliPlayerSDK_iOS_RTS.podspec.json Response: SSL connect error CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/0/3/AliPlayerSDK_iOS_RTS/4.7.5/AliPlayerSDK_iOS_RTS.podspec.json Response: SSL connect error CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/0/3/AliPlayerSDK_iOS_RTS/5.1.0/AliPlayerSDK_iOS_RTS.podspec.json Response: SSL connect error CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/0/3/AliPlayerSDK_iOS_RTS/5.1.1/AliPlayerSDK_iOS_RTS.podspec.json Response: SSL connect error
如何解决?
使用代理工具修改https://cdn.jsdelivr.net/ 为 https://fastly.jsdelivr.net/ 就行了!
MBP:~ macbook$ pod search AliPlayerSDK_iOS [!] CDN: trunk Repo update failed - 10 error(s): CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/0/3/AliPlayerSDK_iOS_RTS/4.6.0/AliPlayerSDK_iOS_RTS.podspec.json Response: SSL connect error CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/0/3/AliPlayerSDK_iOS_RTS/4.7.0/AliPlayerSDK_iOS_RTS.podspec.json Response: SSL connect error CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/0/3/AliPlayerSDK_iOS_RTS/4.7.1/AliPlayerSDK_iOS_RTS.podspec.json Response: SSL connect error CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/0/3/AliPlayerSDK_iOS_RTS/4.7.2/AliPlayerSDK_iOS_RTS.podspec.json Response: SSL connect error CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/0/3/AliPlayerSDK_iOS_RTS/4.7.3/AliPlayerSDK_iOS_RTS.podspec.json Response: SSL connect error CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/0/3/AliPlayerSDK_iOS_RTS/4.7.4/AliPlayerSDK_iOS_RTS.podspec.json Response: SSL connect error CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/0/3/AliPlayerSDK_iOS_RTS/4.7.4.1/AliPlayerSDK_iOS_RTS.podspec.json Response: SSL connect error CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/0/3/AliPlayerSDK_iOS_RTS/4.7.5/AliPlayerSDK_iOS_RTS.podspec.json Response: SSL connect error CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/0/3/AliPlayerSDK_iOS_RTS/5.1.0/AliPlayerSDK_iOS_RTS.podspec.json Response: SSL connect error CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/0/3/AliPlayerSDK_iOS_RTS/5.1.1/AliPlayerSDK_iOS_RTS.podspec.json Response: SSL connect error
如何解决?