From 9aa9bf5956f3592ccdc92cae09e569b29c123325 Mon Sep 17 00:00:00 2001
From: Ariver <shanghai3168@gmail.com>
Date: Thu, 04 Jun 2026 15:16:48 +0800
Subject: [PATCH] Add x86_64 App Store sandbox artifact records

---
 Release/PrivateVoice-Dictation-2.1.28-build20260604.0049/SHA256SUMS.txt                  |    1 +
 Release/PrivateVoice-Dictation-2.1.28-build20260604.0049/APP_STORE_CONNECT_SUBMISSION.md |    3 +++
 Release/PrivateVoice-Dictation-2.1.28-build20260604.0049/RELEASE_MANIFEST.md             |   24 +++++++++++++++---------
 02-P-NBL/freeze/20260604-mac-app-store-release-freeze.md                                 |   15 ++++++++++-----
 4 files changed, 29 insertions(+), 14 deletions(-)

diff --git a/02-P-NBL/freeze/20260604-mac-app-store-release-freeze.md b/02-P-NBL/freeze/20260604-mac-app-store-release-freeze.md
index b8d5cb1..3d95c9f 100644
--- a/02-P-NBL/freeze/20260604-mac-app-store-release-freeze.md
+++ b/02-P-NBL/freeze/20260604-mac-app-store-release-freeze.md
@@ -16,7 +16,10 @@
 - 已准备 App Store Connect 元数据草稿、隐私问卷建议、审核备注和上传命令: `Release/PrivateVoice-Dictation-2.1.28-build20260604.0049/APP_STORE_CONNECT_SUBMISSION.md`。
 - 已生成本地 App Store sandbox POC DMG:
   `Release/PrivateVoice-Dictation-2.1.28-build20260604.0049/PrivateVoice Dictation-2.1.28-build20260604.0049-arm64-appstore-sandbox-poc.dmg`。
-- SHA256: `fcef2154aab52224f55874ea865d6a08efe71a2d09768d7fbc8858d319a64024`。
+- 已补生成 Intel x86_64 本地 App Store sandbox POC DMG:
+  `Release/PrivateVoice-Dictation-2.1.28-build20260604.0049/PrivateVoice Dictation-2.1.28-build20260604.0049-x86_64-appstore-sandbox-poc.dmg`。
+- arm64 SHA256: `fcef2154aab52224f55874ea865d6a08efe71a2d09768d7fbc8858d319a64024`。
+- x86_64 SHA256: `899bf95f579455794f9cffbadc33d1e90dbba4b6fc1b3d237229115691373606`。
 
 ## 验证
 
@@ -25,10 +28,12 @@
 - `npm run build`: PASS,只有既有 Svelte a11y warning
 - `go test ./... -count=1`: PASS
 - `./scripts/build-appstore-macos.sh arm64`: PASS
-- App Store sandbox POC DMG `hdiutil verify`: PASS
-- DMG 挂载内容包含 `.app` 和 `Applications` 链接: PASS
-- 包内版本为 `2.1.28 (build 20260604.0049)`: PASS
-- 包内包含 `en.lproj` 和 `zh-Hans.lproj` 本地化资源: PASS
+- `./scripts/build-appstore-macos.sh x86_64`: PASS
+- App Store sandbox POC DMG `hdiutil verify`: arm64 PASS,x86_64 PASS
+- DMG 挂载内容包含 `.app` 和 `Applications` 链接: arm64 PASS,x86_64 PASS
+- 包内版本为 `2.1.28 (build 20260604.0049)`: arm64 PASS,x86_64 PASS
+- 包内包含 `en.lproj` 和 `zh-Hans.lproj` 本地化资源: arm64 PASS,x86_64 PASS
+- x86_64 主程序架构为 `Mach-O 64-bit executable x86_64`: PASS
 
 ## 等待用户/外部环境
 
diff --git a/Release/PrivateVoice-Dictation-2.1.28-build20260604.0049/APP_STORE_CONNECT_SUBMISSION.md b/Release/PrivateVoice-Dictation-2.1.28-build20260604.0049/APP_STORE_CONNECT_SUBMISSION.md
index 02e2b5a..0979fa8 100644
--- a/Release/PrivateVoice-Dictation-2.1.28-build20260604.0049/APP_STORE_CONNECT_SUBMISSION.md
+++ b/Release/PrivateVoice-Dictation-2.1.28-build20260604.0049/APP_STORE_CONNECT_SUBMISSION.md
@@ -49,8 +49,11 @@
 
 ```text
 /Users/ar/Projects/PrivateVoice/privatevoice.src/build/macappstore/arm64/PrivateVoice-Dictation-2.1.28-build20260604.0049-arm64-macappstore.pkg
+/Users/ar/Projects/PrivateVoice/privatevoice.src/build/macappstore/x86_64/PrivateVoice-Dictation-2.1.28-build20260604.0049-x86_64-macappstore.pkg
 ```
 
+For Intel Mac coverage, run the same command with `x86_64` after Apple signing assets are installed. If App Store Connect requires a single upload covering both CPU families, build a universal package from the same frozen source commit instead of uploading only the arm64 package.
+
 Validate before upload:
 
 ```bash
diff --git a/Release/PrivateVoice-Dictation-2.1.28-build20260604.0049/RELEASE_MANIFEST.md b/Release/PrivateVoice-Dictation-2.1.28-build20260604.0049/RELEASE_MANIFEST.md
index 5a0bd1e..25d4aef 100644
--- a/Release/PrivateVoice-Dictation-2.1.28-build20260604.0049/RELEASE_MANIFEST.md
+++ b/Release/PrivateVoice-Dictation-2.1.28-build20260604.0049/RELEASE_MANIFEST.md
@@ -3,7 +3,7 @@
 ## Package Type
 
 - Type: Mac App Store release freeze / local App Store sandbox POC
-- Platform: macOS arm64
+- Platform: macOS arm64 and x86_64
 - Signing: local code signing identity for POC only, not Apple App Store distribution signing
 - Generated at: 2026-06-03T16:55:36Z
 - Operator: Codex
@@ -25,7 +25,7 @@
   `privatevoice.src/scripts/build-macappstore-pkg-macos.sh`.
 - Prepared App Store Connect metadata, privacy label recommendation, review notes, upload commands, and blocker list:
   `APP_STORE_CONNECT_SUBMISSION.md`.
-- Built and verified a local App Store sandbox POC DMG using the `appstore` Go build tag and App Sandbox entitlements.
+- Built and verified local App Store sandbox POC DMGs for arm64 and x86_64 using the `appstore` Go build tag and App Sandbox entitlements.
 
 ## Build Commands
 
@@ -36,6 +36,7 @@
 go test ./... -count=1
 ./privatevoice.src/scripts/build-macappstore-pkg-macos.sh arm64
 ./privatevoice.src/scripts/build-appstore-macos.sh arm64
+./privatevoice.src/scripts/build-appstore-macos.sh x86_64
 ```
 
 ## Verification
@@ -46,25 +47,29 @@
 - `npm run build`: PASS, with existing Svelte a11y warnings in `UpdateDialog.svelte` and `ToggleSwitch.svelte`.
 - `go test ./... -count=1`: PASS.
 - Mac App Store `.pkg` script preflight: BLOCKED as expected because Apple signing environment variables and certificates are not available locally.
-- App Store sandbox POC build script: PASS.
-- App Store sandbox POC app `Info.plist` reports `CFBundleShortVersionString=2.1.28`, `CFBundleVersion=20260604.0049`, and `LSMinimumSystemVersion=13.4`: PASS.
-- App Store sandbox POC app resources include `en.lproj/InfoPlist.strings` and `zh-Hans.lproj/InfoPlist.strings`: PASS.
+- App Store sandbox POC build script for arm64: PASS.
+- App Store sandbox POC build script for x86_64: PASS.
+- App Store sandbox POC app `Info.plist` reports `CFBundleShortVersionString=2.1.28`, `CFBundleVersion=20260604.0049`, and `LSMinimumSystemVersion=13.4` for both arm64 and x86_64: PASS.
+- App Store sandbox POC app resources include `en.lproj/InfoPlist.strings` and `zh-Hans.lproj/InfoPlist.strings` for both arm64 and x86_64: PASS.
+- App Store sandbox POC x86_64 main binary reports `Mach-O 64-bit executable x86_64`: PASS.
 - App Store sandbox POC entitlements include App Sandbox, audio input, user-selected read/write files, and network client: PASS.
-- App Store sandbox POC app code signature verification in build script: PASS.
-- App Store sandbox POC DMG `hdiutil verify`: PASS.
-- DMG contents include `PrivateVoice Dictation.app` and `Applications -> /Applications`: PASS.
+- App Store sandbox POC app code signature verification in build script for both arm64 and x86_64: PASS.
+- App Store sandbox POC DMG `hdiutil verify` for both arm64 and x86_64: PASS.
+- DMG contents include `PrivateVoice Dictation.app` and `Applications -> /Applications` for both arm64 and x86_64: PASS.
 - Copied release DMG SHA256 verification: PASS.
 
 ## Artifact
 
 ```text
 Release/PrivateVoice-Dictation-2.1.28-build20260604.0049/PrivateVoice Dictation-2.1.28-build20260604.0049-arm64-appstore-sandbox-poc.dmg
+Release/PrivateVoice-Dictation-2.1.28-build20260604.0049/PrivateVoice Dictation-2.1.28-build20260604.0049-x86_64-appstore-sandbox-poc.dmg
 ```
 
 SHA256:
 
 ```text
-fcef2154aab52224f55874ea865d6a08efe71a2d09768d7fbc8858d319a64024
+fcef2154aab52224f55874ea865d6a08efe71a2d09768d7fbc8858d319a64024  PrivateVoice Dictation-2.1.28-build20260604.0049-arm64-appstore-sandbox-poc.dmg
+899bf95f579455794f9cffbadc33d1e90dbba4b6fc1b3d237229115691373606  PrivateVoice Dictation-2.1.28-build20260604.0049-x86_64-appstore-sandbox-poc.dmg
 ```
 
 ## Mac App Store Upload Blocker
@@ -93,6 +98,7 @@
 
 ```text
 /Users/ar/Projects/PrivateVoice/privatevoice.src/build/macappstore/arm64/PrivateVoice-Dictation-2.1.28-build20260604.0049-arm64-macappstore.pkg
+/Users/ar/Projects/PrivateVoice/privatevoice.src/build/macappstore/x86_64/PrivateVoice-Dictation-2.1.28-build20260604.0049-x86_64-macappstore.pkg
 ```
 
 ## Known Notes
diff --git a/Release/PrivateVoice-Dictation-2.1.28-build20260604.0049/SHA256SUMS.txt b/Release/PrivateVoice-Dictation-2.1.28-build20260604.0049/SHA256SUMS.txt
index f4d1443..179a2e3 100644
--- a/Release/PrivateVoice-Dictation-2.1.28-build20260604.0049/SHA256SUMS.txt
+++ b/Release/PrivateVoice-Dictation-2.1.28-build20260604.0049/SHA256SUMS.txt
@@ -1 +1,2 @@
 fcef2154aab52224f55874ea865d6a08efe71a2d09768d7fbc8858d319a64024  PrivateVoice Dictation-2.1.28-build20260604.0049-arm64-appstore-sandbox-poc.dmg
+899bf95f579455794f9cffbadc33d1e90dbba4b6fc1b3d237229115691373606  PrivateVoice Dictation-2.1.28-build20260604.0049-x86_64-appstore-sandbox-poc.dmg

--
Gitblit v1.9.3