Mac
[Mac] xcrun: error: invalid active developer path 에러 해결 방법
[Mac] xcrun: error: invalid active developer path 에러 해결 방법
2022.09.201. 문제 발생 맥 환경에서 간혹 git 명령어가 실행되지 않고 해당 오류가 발생하는 현상이 나타남 xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun 2. 해결 방법 터미널에서 xcode cli 설치 명령어 입력 xcode-select --install
[Mac] Chromedriver 보안 정책 오류
[Mac] Chromedriver 보안 정책 오류
2022.07.131. 문제 발생 M1에서 Selenium 을 실행할 때 발생되는 오류에 대해 알아보고자 한다. 이는 Apple 보안 정책 때문에 발생하는 오류지만 간단한 명령어 하나로 해결할 수 있다. Error: “chromedriver” cannot be opened because the developer cannot be verified. 2. 해결 방법 chromedriver 가 있는 경로에 터미널을 실행해, 해당 명령어를 입력하면 해결된다. xattr -d com.apple.quarantine chromedriver
[Mac] 잠자기 모드 비활성화 방법
[Mac] 잠자기 모드 비활성화 방법
2022.05.09간혹 맥북을 사용하다 보면 커버를 닫아도 맥이 안 꺼지게 하고 싶을 때가 있는데 명령어 하나로 커버를 닫아도 잠자기 모드를 비활성화 할 수 있는 방법을 알아보자 1. 명령어 실행 iTerm 에서 sudo pmset -c disablesleep 1 명령어를 입력하면 커버를 닫아도 잠자기 모드가 활성화 되지 않는다. 다시 잠자기 모드를 활성화 하려면 sudo pmset -c disablesleep 0 명령어를 입력하면 된다. 2. 출처 https://support.apple.com/ko-kr/HT200106