[Ruby] 윈도우에서 pod install 실행시 UTF-8 오류
- 02-28
- 26,736 회
- 0 건
[code]
Traceback (most recent call last):
4: from C:/Ruby27-x64/bin/pod:23:in `<main>'
3: from C:/Ruby27-x64/bin/pod:23:in `load'
2: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/cocoapods-1.10.1/bin/pod:55:in `<top (required)>'
1: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/cocoapods-1.10.1/lib/cocoapods/command.rb:50:in `run'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/cocoapods-1.10.1/lib/cocoapods/command.rb:178:in `verify_xcode_license_approved!': invalid byte sequence in UTF-8 (ArgumentError)
[/code]
아래 명령어를 이용해서 cmd 에서 인코딩을 바꾼다.
[code]
chcp 65001
[/code]