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

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

{% hint style="warning" %}
**注意**：在 App Store Edition 中，此功能只能在搭载 Intel 的 Mac 计算机上使用，无法在搭载 Apple Silicon 的 Mac 上使用。要详细了解 App Store Edition，请点击此[链接](https://kb.parallels.cn/123796)。
{% endhint %}

要在虚拟机中安装 macOS:

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

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

{% hint style="info" %}
**注意**：自 Parallels Desktop 版本 19 开始，您可以使用 .ipsw 文件在搭载 Apple Silicon 的 Mac 上设置 macOS 虚拟机。\
\
要从 .ipsw 文件安装，请双击该文件，选择新虚拟机的名称，然后单击“创建”。\
如需了解如何使用命令行接口创建 macOS 虚拟机，请参阅 Parallels Desktop 开发人员指南的[相应部分](https://docs.parallels.com/parallels-desktop-developers-guide/command-line-interface-utility/manage-virtual-machines-from-cli/general-virtual-machine-management/create-a-virtual-machine#creating-a-macos-virtual-machine)。
{% endhint %}

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

您还可以在主机与来宾 macOS 之间复制和粘贴文本以及拖放文件，就如使用 Windows 作为来宾 macOS 一样，但这些操作仅适用于基于 Intel 的 Mac。

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

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

您可[设定功能键与其他系统快捷键是否触发主机与虚拟机的 macOS 中的功能](/pdfm-19-ug-zh_cn/parallels-desktop-for-mac-19-users-guide/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: 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://docs.parallels.cn/pdfm-19-ug-zh_cn/parallels-desktop-for-mac-19-users-guide/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>
```

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.
