From 6091dd8fe023f32c6f0a26d40af2f9e5c4337498 Mon Sep 17 00:00:00 2001 From: admin Date: Wed, 23 Sep 2026 14:31:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=96=87=E6=A1=A3=E4=B8=AD?= =?UTF-8?q?=E4=B8=8E=20git=20=E5=89=AF=E6=9C=AC=E4=B8=8D=E7=AC=A6=E7=9A=84?= =?UTF-8?q?=E8=A1=A8=E8=BF=B0(=E7=9B=AE=E5=BD=95=E4=BD=93=E7=A7=AF?= =?UTF-8?q?=E3=80=81git=20=E4=BB=93=E5=BA=93=E7=8A=B6=E6=80=81)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Xuxucheck/CLAUDE.md | 2 +- Xuxucheck/README.md | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Xuxucheck/CLAUDE.md b/Xuxucheck/CLAUDE.md index 9d72c42..de741b8 100644 --- a/Xuxucheck/CLAUDE.md +++ b/Xuxucheck/CLAUDE.md @@ -28,7 +28,7 @@ xcodebuild -workspace XuXuCheck.xcworkspace -scheme XuXuCheck \ ### The OpenCV framework is vendored in the repo -`Frameworks/opencv2.xcframework` (309 MB) is checked into the working directory, so a plain checkout builds without anything external. It is wired up by exactly one `PBXFileReference` in `XuXuCheck.xcodeproj/project.pbxproj`: +`Frameworks/opencv2.xcframework` (309 MB upstream; **203 MB in this git copy**, which keeps only the two iOS slices — see below) is checked into the working directory, so a plain checkout builds without anything external. It is wired up by exactly one `PBXFileReference` in `XuXuCheck.xcodeproj/project.pbxproj`: ``` path = Frameworks/opencv2.xcframework; sourceTree = ""; diff --git a/Xuxucheck/README.md b/Xuxucheck/README.md index 9933830..8496888 100644 --- a/Xuxucheck/README.md +++ b/Xuxucheck/README.md @@ -163,7 +163,7 @@ XuXuCheck/ ├── XuXuCheck.xcworkspace ← 打开这个 ├── XuXuCheck.xcodeproj ├── Frameworks/ -│ └── opencv2.xcframework ← 309 MB,自带的 OpenCV +│ └── opencv2.xcframework ← 203 MB(仅 iOS 两个切片),自带的 OpenCV ├── Pods/ ← 已随项目提供,无需 pod install ├── Podfile / Podfile.lock ← CocoaPods 1.16.2 ├── XuXuCheck/ ← App 源码(SwiftUI + opencv/ 下的 C++ 管线) @@ -180,6 +180,7 @@ XuXuCheck/ `XuXuCheck.debug.dylib`(约 10 MB),主可执行文件只有约 90 KB、只是个壳。 判断"OpenCV 有没有链进去"要看前者,别看错文件 - **模拟器没有相机**,扫描流程必须真机 -- 本目录不是 git 仓库,没有历史可回溯,改动前请自行备份 +- **这一份在 git 仓库里**(`admin/ios` 的 `Xuxucheck/` 子目录),有历史可回溯,但仓库 + 体积大(203 MB 大部分是 OpenCV),克隆较慢;桌面上的原始工程不在仓库里,改动前自行备份 - 更多架构说明见 `CLAUDE.md`;WebView 顶部/底部边距的处理与实测数据见 `docs/webview-safe-area.md`