[Ruby] 윈도우에서 pod install 실행시 UTF-8 오류

- 02-28
- 27,022 회
- 0 건
[code] Traceback (most recent call last):<br /> 4: from C:/Ruby27-x64/bin/pod:23:in `<main>'<br /> 3: from C:/Ruby27-x64/bin/pod:23:in `load'<br /> 2: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/cocoapods-1.10.1/bin/pod:55:in `<top (required)>'<br /> 1: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/cocoapods-1.10.1/lib/cocoapods/command.rb:50:in `run'<br /> 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]
로그인 후 댓글내용을 입력해주세요