개발하기 위해 Mac을 샀으니 개발 tool을 설치했다. 

평소 window컴에서 자주 사용하던 sts4를 설치했다. 설치한 날은 문제없이 실행돼서 git repository도 다운받았다. 

하지만 다음 날 코드 수정하기 위해 들어갔으나 can't be opened 오류가 발생하면서 sts가 열리지 않았다.

https://stackoverflow.com/questions/71183897/the-application-sts-cant-be-opened

 

The application "STS" can't be opened

The first installation of STS on my Mac works fine, and this error pops up after restarting the computer. The problem with stS4-4.13.1 installed is still the same. Attempting to specify the jdk ver...

stackoverflow.com

해답은 여기서 찾을 수 있었다. 

Eclipse 기반인 STS가 열리면서 패키지 내용을 수정하는 것 같은데 그 때 처음 sts를 설치할 때의 서명이 깨지게 되어 위변조 파일이라 생각하여 열리지 않는 것. 따라서 다시 서명을 한 번 해줘야 함.

sudo codesign --force --sign - /Applications/SpringToolSuite4.app

현재 STS4 앱에 다시 자체 서명을 함으로써 해당 버전이 최종 버전으로 인식하게 하는 것

'OS > Mac OS' 카테고리의 다른 글

Java home 설정  (1) 2025.03.11
[오류] Spring Tool Suite4 Lombok 설치  (0) 2023.04.29
Mac 부하테스트(stress test)  (0) 2020.12.27
Eclipse for mac OS Catalina  (0) 2019.12.02
MACOS Sieera able to Unidentified Apps  (0) 2018.01.22
Posted by 知彼知己百戰不殆
,