728x90
CocoaPods 배포 시 아래와 같은 에러 문구가 발생한 경우에 대한 해결방법 공유합니다.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Conn keep-alive | |
opening connection to trunk.cocoapods.org:443... | |
opened | |
starting SSL for trunk.cocoapods.org:443... | |
reading 506 bytes... | |
-> "<!DOCTYPE html>\n\t<html>\n\t <head>\n\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\t\t<meta charset=\"utf-8\">\n\t\t<title>Application Error</title>\n\t\t<style media=\"screen\">\n\t\t html,body,iframe {\n\t\t\tmargin: 0;\n\t\t\tpadding: 0;\n\t\t }\n\t\t html,body {\n\t\t\theight: 100%;\n\t\t\toverflow: hidden;\n\t\t }\n\t\t iframe {\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t\tborder: 0;\n\t\t }\n\t\t</style>\n\t </head>\n\t <body>\n\t\t<iframe src=\"//www.herokucdn.com/error-pages/application-error.html\"></iframe>\n\t </body>\n\t</html>" | |
read 506 bytes | |
Conn keep-alive | |
[!] An unexpected error occurred: <!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<meta charset="utf-8"> | |
<title>Application Error</title> | |
<style media="screen"> | |
html,body,iframe { | |
margin: 0; | |
padding: 0; | |
} | |
html,body { | |
height: 100%; | |
overflow: hidden; | |
} | |
iframe { | |
width: 100%; | |
height: 100%; | |
border: 0; | |
} | |
</style> | |
</head> | |
<body> | |
<iframe src="//www.herokucdn.com/error-pages/application-error.html"></iframe> | |
</body> | |
</html> |
등록한 이메일로 배포 완료 메일이 온 것을 보면... Pod 배포 자체는 잘 된 것 같은데... 에러 로그가 갑자기 주르륵 나와서 당황했어요...
정확한 원인 해결은 아닐진 모르겠지만, 배포한 Pod을 제거(pod trunk delete) 후 다시 배포(pod trunk push)하면 이후부터는 에러 로그가 안나옵니다.
# 참고
- https://github.com/CocoaPods/CocoaPods/issues/11621
An unexpected error occurred: <!DOCTYPE html> on pod trunk push · Issue #11621 · CocoaPods/CocoaPods
Using CocoaPods = 1.11.3 Using Xcode 13.4 Report Hi, When trying to upload a Pod via Github actions I get an unexpected error: Updating spec repo `trunk` Validating podspec -> VonageClientSDKChat -...
github.com
이번 글은 여기서 마무리.
반응형
'TroubleShooting' 카테고리의 다른 글
[CocoaPods] link_stat failed no such file or directory (2) 해결방법 (0) | 2023.05.11 |
---|---|
[SwiftUI] iOS 15 이하에서 navigationBarHidden이 동작하지 않는 이슈 (0) | 2023.04.11 |
[iOS] Error Domain=NSURLErrorDomain Code=-1200 해결방법 (0) | 2023.02.15 |
[iOS] Unsupported Swift architecture 해결방법 (2) | 2023.02.11 |
[Xcode 14] Asset validation failed 해결방법 (0) | 2022.12.31 |