Ruby를 사용하다 보면 Your ~file has had smart quotes sanitised. 경고문을 보게 됩니다.

예를 들어, 다음과 같습니다.

Your Fastfile has had smart quotes sanitised.
To avoid issues in the future, you should not use TextEdit for editing it.
If you are not using TextEdit, you should turn off smart quotes in your editor of choice.

Fastlane의 경우

Your Dangerfile has had smart quotes sanitised.
To avoid issues in the future, you should not use TextEdit for editing it.
If you are not using TextEdit, you should turn off smart quotes in your editor of choice.

danger의 경우

해결법

해결법은 간단합니다.
해당 경고문의 파일에 들어가 가 파일에 포함되어 있는지 확인합니다.
존재한다면 "로 대체해주세요.

왜 발생할까?

경고문에 적혀있는 그대로입니다. macOS의 경우 기본 제공하는 텍스트 편집기(TextEdit.app)는 "를 smart quotes으로 불리는 로 자동 대치시키기 때문입니다.
~file을 수정하는 경우 VIM이나, VSCode같은 코드 편집기를 사용하는 것이 좋겠습니다.

물론 텍스트 편집기(TextEdit.app)에서 설정에 진입해 smart quotes 옵션을 꺼서 방지 수도 있습니다.

solution