Skip to content

知了 Cicada · 任何会议和直播的实时字幕、同声传译、AI 会议纪要,Mac、Windows、Linux、Android 免费开源。Live subtitles, interpreting and meeting notes for any call or stream, on Mac, Windows, Linux and Android.

docs: say how to build on macOS 27 when the Command Line Tools lack SwiftUI's macros

wquguru277548978dba
diff --git a/README.en.md b/README.en.md
index 200cd95..5bab926 100644
--- a/README.en.md
+++ b/README.en.md
@@ -168,7 +168,7 @@ defaults delete com.wquguru.cicada
## Development
-Building the Mac app from source requires Xcode Command Line Tools (`xcode-select --install`). Cicada has no third-party dependencies and builds directly against macOS system frameworks. For Windows, Linux and Android, see [windows/README.md](windows/README.md), [linux/README.md](linux/README.md) and [android/README.md](android/README.md).
+Building the Mac app from source requires Xcode Command Line Tools (`xcode-select --install`). Cicada has no third-party dependencies and builds directly against macOS system frameworks. On macOS 27, if the build fails because `SwiftUIMacros` is missing, that version of the Command Line Tools lacks SwiftUI's macro plugin: install the full Xcode and run `sudo xcode-select -s /Applications/Xcode.app`. For Windows, Linux and Android, see [windows/README.md](windows/README.md), [linux/README.md](linux/README.md) and [android/README.md](android/README.md).
```bash
scripts/build.sh # dev build → build/Cicada.app ("Cicada Dev", runs beside the installed app)
diff --git a/README.md b/README.md
index 7132581..037b6c9 100644
--- a/README.md
+++ b/README.md
@@ -167,7 +167,7 @@ defaults delete com.wquguru.cicada
## 开发
-Mac 版从源码构建只需要安装 Xcode Command Line Tools(`xcode-select --install`),项目没有任何第三方依赖。Windows、Linux、Android 的构建方法见 [windows/README.md](windows/README.md)、[linux/README.md](linux/README.md)、[android/README.md](android/README.md)。
+Mac 版从源码构建只需要安装 Xcode Command Line Tools(`xcode-select --install`),项目没有任何第三方依赖。在 macOS 27 上如果编译时报 `SwiftUIMacros` 缺失,说明这一版 Command Line Tools 不带 SwiftUI 的宏插件,安装完整的 Xcode 并运行 `sudo xcode-select -s /Applications/Xcode.app` 即可。Windows、Linux、Android 的构建方法见 [windows/README.md](windows/README.md)、[linux/README.md](linux/README.md)、[android/README.md](android/README.md)。
```bash
scripts/build.sh # 编译开发版 → build/Cicada.app(名为 Cicada Dev,可与正式版同时运行)