ci: match the verified Xcode 26.6 release compiler

This commit is contained in:
public-repo-gate
2026-09-13 15:28:06 +03:00
parent 6dde0d66e5
commit 7c1bf5a5ad
12 changed files with 2859 additions and 2847 deletions
+3 -3
View File
@@ -21,7 +21,7 @@
"advantage": "your Mac decodes the speech, and during dictation the network is closed by a switch in the code rather than a promise in the text.",
"better": "The switch sits inside the recognition library and returns to its place even when a download fails. Documentation does not prove that: a script pins the set of networking symbols in the built binary and asks the kernel whether the running app holds a single socket.",
"how": "Press the key, say your sentence, press again. The text lands where the cursor was blinking.\n\nA glass drop sits at the bottom of the screen the whole time. While you are silent it stays small. Start talking and a wave runs inside it: that is the answer to «can it hear me».\n\n![The plate while recording: a wave inside the glass](docs/assets/shots/plate-listening-dark.png)\n\nPoint at it with the mouse and the drop opens into a row of buttons: record, prompt, translate, language, history, settings. The language switches right there, a second before you speak — no need to walk to the settings for it.\n\n![The plate under the pointer: a row of six buttons](docs/assets/shots/plate-hover-dark.png)\n\nIf pasting did not work, nothing is lost: the same plate opens into a panel and you take the text from there.\n\n![Dictation settings: where the speech gets cleaned](docs/assets/shots/page-dictation.png)",
"quick_intro": "Download the [macOS DMG](https://github.com/zarubinvibe/iriz/releases/latest/download/iriz-macos-arm64.dmg), open it, and drag iriz into Applications. This build needs Apple Silicon and macOS 14 or newer. No Xcode or Terminal is needed.\n\nOpen iriz and choose Download and install Parakeet in onboarding (about 500 MB). Grant the permissions in the following steps. Wait for readiness, focus a text field, and try your dictation key.\n\n[Installation, model recovery and updates](docs/DOWNLOAD.md). To build from source instead, install Xcode 26 or newer with the macOS 26 SDK and Swift 6 and use one of the paths below.",
"quick_intro": "Download the [macOS DMG](https://github.com/zarubinvibe/iriz/releases/latest/download/iriz-macos-arm64.dmg), open it, and drag iriz into Applications. This build needs Apple Silicon and macOS 14 or newer. No Xcode or Terminal is needed.\n\nOpen iriz and choose Download and install Parakeet in onboarding (about 500 MB). Grant the permissions in the following steps. Wait for readiness, focus a text field, and try your dictation key.\n\n[Installation, model recovery and updates](docs/DOWNLOAD.md). To build from source instead, use the tested Xcode 26.6 toolchain (macOS 26 SDK, Swift 6.3.3) and one of the paths below.",
"quick_extra": "Without Git, download [the source ZIP](https://github.com/zarubinvibe/iriz/archive/refs/heads/main.zip), unpack it and run the same installer there. Or open the project in Claude Code and run `/iriz-setup` for a guided install. It asks before installing.",
"quick_result": "the installer says what this is, looks at what your machine is missing, runs the tree selfcheck, and names the next step. It installs nothing until you ask.",
"compare": [
@@ -123,7 +123,7 @@
"advantage": "речь разбирает твой Мак, и во время диктовки сеть закрыта рубильником в коде, а не обещанием в тексте.",
"better": "Рубильник стоит внутри библиотеки распознавания и возвращается на место даже когда загрузка падает. Проверяет это не документация: скрипт пинует набор сетевых символов в собранном бинарнике и спрашивает у ядра, есть ли у работающего приложения хоть один сокет.",
"how": "Нажимаешь клавишу, говоришь фразу, нажимаешь еще раз. Текст встает туда, где мигал курсор.\n\nВнизу экрана все это время висит стеклянная капля. Пока ты молчишь, она маленькая. Заговоришь — внутри бежит волна: это и есть ответ на вопрос «слышит ли меня».\n\n![Плашка на записи: волна внутри стекла](docs/assets/shots/plate-listening-dark.png)\n\nНаведи на нее мышь — капля раскроется в ряд кнопок: запись, промпт, перевод, язык, история, настройки. Язык переключается здесь же, за секунду до того, как заговорить, и ходить за этим в настройки незачем.\n\n![Плашка под мышью: ряд из шести кнопок](docs/assets/shots/plate-hover-dark.png)\n\nЕсли вставить не удалось, ничего не потеряно: та же плашка раскроется в панель, и текст можно забрать оттуда.\n\n![Настройки диктовки: где чистится речь](docs/assets/shots/page-dictation.png)",
"quick_intro": "[Скачай DMG для macOS](https://github.com/zarubinvibe/iriz/releases/latest/download/iriz-macos-arm64.dmg), открой и перетащи iriz в Applications. Нужен Мак с Apple Silicon на macOS 14 или новее. Xcode и терминал не нужны.\n\nОткрой iriz и нажми «Скачать и установить Parakeet» в знакомстве. На следующих шагах выдай разрешения. Загрузка займет около 500 МБ. Дождись готовности, поставь курсор в текстовое поле и попробуй клавишу диктовки.\n\n[Установка, восстановление модели и обновления](docs/DOWNLOAD.ru.md). Для сборки из исходников нужен Xcode 26 или новее с macOS 26 SDK и Swift 6. Ниже команды и другие способы установки.",
"quick_intro": "[Скачай DMG для macOS](https://github.com/zarubinvibe/iriz/releases/latest/download/iriz-macos-arm64.dmg), открой и перетащи iriz в Applications. Нужен Мак с Apple Silicon на macOS 14 или новее. Xcode и терминал не нужны.\n\nОткрой iriz и нажми «Скачать и установить Parakeet» в знакомстве. На следующих шагах выдай разрешения. Загрузка займет около 500 МБ. Дождись готовности, поставь курсор в текстовое поле и попробуй клавишу диктовки.\n\n[Установка, восстановление модели и обновления](docs/DOWNLOAD.ru.md). Для сборки из исходников используй проверенный Xcode 26.6 (macOS 26 SDK, Swift 6.3.3). Ниже команды и другие способы установки.",
"quick_extra": "Нет Git? Скачай [ZIP с исходниками](https://github.com/zarubinvibe/iriz/archive/refs/heads/main.zip), распакуй и запусти в нем тот же установщик. Или открой проект в Claude Code и запусти `/iriz-setup`: агент проведет установку по шагам и спросит перед изменениями.",
"quick_result": "установщик объясняет, что это, смотрит, чего не хватает на машине, гоняет самопроверку дерева и называет следующий шаг. Ничего не ставит, пока ты не попросишь.",
"compare": [
@@ -225,7 +225,7 @@
"advantage": "识别在你自己的 Mac 上完成,口述期间网络由代码里的开关关闭,而不是靠文字承诺。",
"better": "开关叫 `DownloadUtils.enforceOffline`,位置在识别库内部,连下载失败的时候也会自己归位。光有文档不算数:自检脚本盯住编译好的二进制里那一组网络符号,再去问系统,运行中的应用手上有没有一个套接字。",
"how": "按键,说一句话,再按一下。文字会落在光标闪烁的地方。\n\n这段时间里,屏幕下方一直有一颗玻璃水滴。你不说话时它很小。一开口,里面就有声波流动:这就是“它有没有听见我”的答案。\n\n![录音中的浮窗:玻璃里的声波](docs/assets/shots/plate-listening-dark.png)\n\n把鼠标移上去,水滴会展开成一排按钮:录音、提示词、翻译、语言、历史、设置。语言就在这里切换,开口前一秒就能换,不用专门去设置里找。\n\n![鼠标下的浮窗:一排六个按钮](docs/assets/shots/plate-hover-dark.png)\n\n如果没能粘贴上,什么也不会丢:同一个浮窗会展开成面板,文字从那里拿走。\n\n![口述设置:在哪里清理口语](docs/assets/shots/page-dictation.png)",
"quick_intro": "[下载 macOS DMG](https://github.com/zarubinvibe/iriz/releases/latest/download/iriz-macos-arm64.dmg),打开后将 iriz 拖入 Applications。需要 Apple Silicon Mac 和 macOS 14 或更新版本,不需要 Xcode 或终端。\n\n打开 iriz,在引导中点击「下载并安装 Parakeet」(约 500 MB),然后按后续步骤授予权限。等模型就绪,将光标放入文本框,再试用听写快捷键。\n\n[安装、恢复模型和更新](docs/DOWNLOAD.zh.md)。从源码构建另需 Xcode 26 或更新版本(含 macOS 26 SDK 和 Swift 6),命令及其他安装方式见下方。",
"quick_intro": "[下载 macOS DMG](https://github.com/zarubinvibe/iriz/releases/latest/download/iriz-macos-arm64.dmg),打开后将 iriz 拖入 Applications。需要 Apple Silicon Mac 和 macOS 14 或更新版本,不需要 Xcode 或终端。\n\n打开 iriz,在引导中点击「下载并安装 Parakeet」(约 500 MB),然后按后续步骤授予权限。等模型就绪,将光标放入文本框,再试用听写快捷键。\n\n[安装、恢复模型和更新](docs/DOWNLOAD.zh.md)。从源码构建请使用已验证的 Xcode 26.6(macOS 26 SDK、Swift 6.3.3),命令及其他安装方式见下方。",
"quick_extra": "没有 Git?下载[源码 ZIP](https://github.com/zarubinvibe/iriz/archive/refs/heads/main.zip),解压后运行同一个安装脚本。也可以在 Claude Code 中打开项目并运行 `/iriz-setup`,让智能体逐步引导安装,每次安装前都会先询问。",
"quick_result": "安装脚本先说清楚这是什么,再看你的机器缺什么,跑一遍 `bash scripts/selfcheck.sh --selftest`,最后告诉你下一步该做什么。你不开口,它什么都不装。真要构建,加一个参数:`bash install.sh --build`。",
"compare": [
+7 -5
View File
@@ -28,13 +28,13 @@ jobs:
if: github.repository == 'zarubinvibe/iriz' && github.event.repository.visibility == 'public'
# Standard ARM64 runner, not the paid macos-*-large/xlarge variants.
# https://docs.github.com/en/actions/reference/runners/github-hosted-runners
runs-on: macos-15
runs-on: macos-26
timeout-minutes: 90
permissions:
contents: read
env:
# macOS 26 APIs need the newer SDK even with a macOS 14 deployment target.
DEVELOPER_DIR: /Applications/Xcode_26.3.app/Contents/Developer
# Match the compiler that built the verified release; SDK 26 alone is insufficient.
DEVELOPER_DIR: /Applications/Xcode_26.6.app/Contents/Developer
SMLTLK_SIGN_IDENTITY: '-'
IRIZ_NOTARY_PROFILE: ''
IRIZ_DMG_HEADLESS: '1'
@@ -62,10 +62,12 @@ jobs:
[[ "$(uname -m)" == arm64 ]] || { echo 'An ARM64 runner is required.'; exit 1; }
xcode_version=$(xcodebuild -version)
printf '%s\n' "$xcode_version"
[[ "$xcode_version" == 'Xcode 26.'* ]] || { echo 'Xcode 26 is required.'; exit 1; }
[[ "$xcode_version" == $'Xcode 26.6\nBuild version 17F113' ]] \
|| { echo 'Xcode 26.6 build 17F113 is required.'; exit 1; }
swift_version=$(xcrun swift --version)
printf '%s\n' "$swift_version"
[[ "$swift_version" == *'Swift version 6.'* ]] || { echo 'Swift 6 is required.'; exit 1; }
[[ "$swift_version" =~ Swift[[:space:]]version[[:space:]]6\.3\.3([[:space:]]|$) ]] \
|| { echo 'Swift 6.3.3 is required.'; exit 1; }
sdk_version=$(xcrun --sdk macosx --show-sdk-version)
printf 'macOS SDK: %s\n' "$sdk_version"
[[ "$sdk_version" =~ ^([0-9]+)(\.[0-9]+){0,2}$ ]] && (( 10#${BASH_REMATCH[1]} >= 26 )) \