> For the complete documentation index, see [llms.txt](https://docs.parallels.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.parallels.cn/pdfm-27-ug-zh_cn/parallels-desktop-for-mac-27-yong-hu-zhi-nan/gao-ji-zhu-ti/zai-mac-shang-shi-yong-qi-ta-cao-zuo-xi-tong/shi-yong-macos-zuo-wei-lai-bin-cao-zuo-xi-tong.md).

# 使用 macOS 作为来宾操作系统

您可以在虚拟机中安装一个 macOS 副本并用作虚拟机操作系统。这在一些情况下有帮助，例如，您想要在不用登录与注销主要账户的情况下在其他 macOS 版本中测试软件。

{% hint style="warning" %}
**注意**：要在App Store版Parallels Desktop上创建和运行macOS虚拟机，需要更新至1.26.1或更高版本。要详细了解 App Store Edition，请点击此[链接](https://kb.parallels.cn/123796)。
{% endhint %}

要在虚拟机中安装 macOS:

1. 打开 Parallels Desktop，并选择**文件** > **新建**，也可以使用 **Control Center** 右上角的 **+** 按钮。
2. 在**免费系统**下，选择**下载 macOS**，点击**继续**，然后按照屏幕上的说明操作。此过程安装的 macOS 版本与 Mac 的 macOS 版本一致。
3. 如果您希望使用 `.ipsw` 文件安装另一个版本的 macOS，请使用**通过映像文件安装 Windows、Linux 或 macOS**选项，然后按照屏幕上的说明操作。此方法还支持拖放操作。

{% hint style="info" %}
**注意**：当您要安装的 macOS 版本与 Mac 正在运行的版本不同时，此选项可能会很有用，例如，在运行 macOS Sequoia 15 的 Mac 上安装 macOS Sonoma 14 虚拟机。

但是，要在运行旧版本 macOS 的 Mac 上的虚拟机中安装新版本的 macOS，您首先需要将 Mac 上的 Xcode 库更新到与您希望作为虚拟机运行的新版本 macOS 相对应的版本。例如，要尝试在运行 macOS Sequoia 15 的 Mac 上创建 macOS Tahoe 26 虚拟机，您首先需要将 Xcode 更新到版本 26。
{% endhint %}

<figure><img src="/files/FcHeRzunZkioEsCI8ysg" alt="" width="563"><figcaption></figcaption></figure>

macOS 虚拟机仍然存在一些限制，其中包括一些特定于 CPU 体系结构的限制。例如，所有 macOS 虚拟机都不支持[融合 (Coherence) 模式](/pdfm-27-ug-zh_cn/parallels-desktop-for-mac-27-yong-hu-zhi-nan/zai-mac-shang-shi-yong-windows/she-ding-windows-ru-he-yu-macos-xie-tong-gong-zuo/he-bing-windows-yu-macos.md)。

{% hint style="danger" %}
**警告**：由于 Apple 自身的虚拟化框架的限制，在运行macOS Sonoma或更早版本的Apple芯片Mac上不支持使用Apple账户登录，或将 macOS 虚拟机连接到 iCloud 进行备份、同步或远程管理（**系统设置** -> **Apple ID**）。
{% endhint %}

有关在搭载 Apple Silicon 的 Mac 上运行的 macOS 虚拟机的最新限制，请参阅这篇[知识库文章](https://kb.parallels.cn/128867)。

您可[设定功能键与其他系统快捷键是否触发主机与虚拟机的 macOS 中的功能](/pdfm-27-ug-zh_cn/parallels-desktop-for-mac-27-yong-hu-zhi-nan/zai-mac-shang-shi-yong-windows/shu-biao-chu-kong-ban-he-jian-pan/zi-ding-yi-jian-pan-kuai-jie-jian.md)。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.parallels.cn/pdfm-27-ug-zh_cn/parallels-desktop-for-mac-27-yong-hu-zhi-nan/gao-ji-zhu-ti/zai-mac-shang-shi-yong-qi-ta-cao-zuo-xi-tong/shi-yong-macos-zuo-wei-lai-bin-cao-zuo-xi-tong.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
