# Xcode先决条件

在macOS计算机上创建新项目时，某些版本的DFINITY Canister SDK会提示您安装Xcode。 该提示已删除，并且dfx new命令不需要您安装任何macOS开发工具。 但是，如果要为项目创建Git存储库，则应安装Developer Command Line Tools。

您可以通过运行xcode-select -p来检查是否安装了开发工具。 您可以通过运行xcode-select --install来安装开发工具。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mixdao.gitbook.io/dfinity/san-shou-ba-shou/7.-gu-zhang-pai-chu/xcode-xian-jue-tiao-jian.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
