Xcode Cloud 构建时, Pod安装JCore出现"Could not resolve host"错误
Xcode Cloud构建时,Install JCore步骤提示"Could not resolve host: sdkfiledl.jiguang.cn"错误.
本地构建则一切正常,在国内也可以正常访问sdkfiledl.jiguang.cn
是否 sdkfiledl.jiguang.cn 的海外线路或是DNS解析存在问题?
具体log日志如下:
Installing JCore (4.7.1)
[!] Error installing JCore
[!] /usr/bin/curl -f -L -o /Volumes/workspace/tmp/d20240823-6334-i9dzbz/file.zip https://sdkfiledl.jiguang.cn/cocoapods/jcore/JCore-iOS-4.7.1.zip --create-dirs --netrc-optional --retry 2 -A 'CocoaPods/1.15.2 cocoapods-downloader/2.1'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: sdkfiledl.jiguang.cn
Warning: Problem : timeout. Will retry in 1 seconds. 2 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: sdkfiledl.jiguang.cn
Warning: Problem : timeout. Will retry in 2 seconds. 1 retries left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: sdkfiledl.jiguang.cn
![错误] Command exited with non-zero exit-code: 1
![警告] Running ci_post_clone.sh script failed (exited with code 1). Executable scripts are run using the interpreter specified in the shebang line.