[!] CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/CocoaPods-version.yml Response: URL using bad/illegal format or missing URL
https://stackoverflow.com/questions/58409725/%D0%A1ocoapods-trunk-url-couldnt-be-downloaded
아래 명령 실행
pod repo remove trunk
그리고 나서.
pod install 아니면 pod update
다른 문제 발생
[!] Unable to add a source with url
https://cdn.cocoapods.org/
namedtrunk
.
You can try adding it manually in/Users/jungkukjo/.cocoapods/repos
or viapod repo add
.
아래 명령 실행
pod repo add-cdn trunk 'https://cdn.cocoapods.org'
[!] CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/CocoaPods-version.yml Response: URL using bad/illegal format or missing URL
다시 동일한 문제 발생 ...
아래 명령 실행
1 sudo gem uninstall cocoapods
2 sudo gem install cocoapods
해결됐다.