> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-fix-nav-issues.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# MacOS에서 개발자 확인 오류 해결

> 시스템 설정 또는 터미널을 사용해 ClickHouse 명령 실행 시 발생하는 MacOS 개발자 확인 오류를 해결하는 방법을 알아봅니다.

export const Image = ({img, alt, size}) => {
  return <Frame>
      <img src={img} alt={alt} />
    </Frame>;
};

***

<div id="fix-the-developer-verification-error-in-macos">
  ## macOS에서 개발자 확인 오류 수정하기
</div>

`brew`를 사용해 ClickHouse를 설치하면 macOS 오류가 발생할 수 있습니다.
기본적으로 macOS는 확인할 수 없는 개발자가 만든 애플리케이션이나 도구를 실행하지 않습니다.

`clickhouse` 명령을 실행하려고 하면 다음과 같은 오류가 표시될 수 있습니다:

<Image img="https://mintcdn.com/private-7c7dfe99-fix-nav-issues/ldyQZWT-cIRJh7wo/images/knowledgebase/fix-the-developer-verification-error-in-macos/dev-verification-error.png?fit=max&auto=format&n=ldyQZWT-cIRJh7wo&q=85&s=966b59567470d5f5b08d4d1693c4e78b" size="md" alt="macOS 개발자 확인 오류 대화상자" border width="372" height="404" data-path="images/knowledgebase/fix-the-developer-verification-error-in-macos/dev-verification-error.png" />

이 개발자 확인 오류를 해결하려면 시스템 설정 창에서 관련 설정을 찾아 macOS의 격리 빈에서 앱을 제거하거나, 터미널을 사용하거나, ClickHouse를 다시 설치해야 합니다.

<div id="system-settings-process">
  ## 시스템 설정 절차
</div>

격리 보관함에서 `clickhouse` 실행형을 제거하는 가장 쉬운 방법은 다음과 같습니다.

1. **시스템 설정**을 여십시오.

2. **Privacy & Security**로 이동하십시오.

   <Image img="https://mintcdn.com/private-7c7dfe99-fix-nav-issues/ldyQZWT-cIRJh7wo/images/knowledgebase/fix-the-developer-verification-error-in-macos/privacy-and-security-default-view.png?fit=max&auto=format&n=ldyQZWT-cIRJh7wo&q=85&s=cedd5521005c8e4d1fd45c2d9be97999" size="md" alt="MacOS Privacy & Security 설정 기본 보기" border width="827" height="737" data-path="images/knowledgebase/fix-the-developer-verification-error-in-macos/privacy-and-security-default-view.png" />

3. 창 하단으로 스크롤하여 \_"clickhouse-macos-aarch64" was blocked from use because it is not from an identified developer"\_라는 메시지를 찾으십시오.

4. **Allow Anyway**를 클릭하십시오.

   <Image img="https://mintcdn.com/private-7c7dfe99-fix-nav-issues/ldyQZWT-cIRJh7wo/images/knowledgebase/fix-the-developer-verification-error-in-macos/privacy-and-security-screen-allow-anyway.png?fit=max&auto=format&n=ldyQZWT-cIRJh7wo&q=85&s=16bce3178cddf89d9a763f32f560abdf" size="md" alt="Allow Anyway 버튼이 표시된 MacOS Privacy & Security 설정" border width="827" height="737" data-path="images/knowledgebase/fix-the-developer-verification-error-in-macos/privacy-and-security-screen-allow-anyway.png" />

5. MacOS 사용자 비밀번호를 입력하십시오.

이제 터미널에서 `clickhouse` 명령을 실행할 수 있습니다.

<div id="terminal-process">
  ## 터미널에서 진행하는 방법
</div>

가끔 `Allow Anyway` 버튼을 눌러도 이 문제가 해결되지 않을 수 있습니다. 이런 경우에는 명령줄에서 이 과정을 진행할 수도 있습니다.
또는 단순히 명령줄 사용을 선호할 수도 있습니다!

먼저 Homebrew가 `clickhouse` 실행형을 어디에 설치했는지 확인합니다:

```shell theme={null}
which clickhouse
```

다음과 비슷한 출력이 나타나야 합니다:

```shell theme={null}
/opt/homebrew/bin/clickhouse
```

이전 명령에서 얻은 경로를 뒤에 붙여 `xattr -d com.apple.quarantine`를 실행하여 `clickhouse`를 격리 상태에서 해제합니다:

```shell theme={null}
xattr -d com.apple.quarantine /opt/homebrew/bin/clickhouse
```

이제 `clickhouse` 실행형을 실행할 수 있어야 합니다:

```shell theme={null}
clickhouse
```

다음과 비슷한 출력이 표시됩니다:

```shell theme={null}
Use one of the following commands:
clickhouse local [args]
clickhouse client [args]
clickhouse benchmark [args]
...
```

<div id="fix-the-issue-by-reinstalling-clickhouse">
  ## ClickHouse를 다시 설치하여 문제 해결
</div>

Brew에는 설치된 바이너리가 처음부터 격리되지 않도록 하는 명령줄 옵션이 있습니다.

먼저 ClickHouse를 제거하세요:

```shell theme={null}
brew uninstall clickhouse
```

이제 `--no-quarantine` 옵션으로 ClickHouse를 다시 설치하세요:

```shell theme={null}
brew install --no-quarantine clickhouse
```
