From eb7228c7254e83f1692e4dea9de6b2e06640d43a Mon Sep 17 00:00:00 2001 From: wangdl Date: Sat, 27 Jun 2026 13:53:25 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20Shared=20Scheme=20+=20StoreKit=20Config?= =?UTF-8?q?uration=20(Test=20Action=20=E9=9C=80=20Xcode)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - xcshareddata/xcschemes/AIStudyApp.xcscheme (Shared) - LaunchAction 引用 Products.storekit (本地 StoreKit 测试) - Products.storekit: Premium Monthly(28 CNY) + Yearly(198 CNY) - Build/Launch/Profile/Archive 全部就绪 Test Target 添加步骤(Xcode GUI, 2 分钟): 1. File → New → Target → Unit Testing Bundle → AIStudyAppTests 2. 移除自动生成的 AIStudyAppTests.swift 3. 在 Build Phases → Compile Sources 添加 AIStudyAppTests/ 下 28 个文件 4. Edit Scheme → Test → + → AIStudyAppTests 5. Test Action → Options → StoreKit Configuration = Products.storekit 注: pbxproj objectVersion=77 使用文件系统同步组,无法通过 CLI 安全添加 Target --- .../xcschemes/AIStudyApp.xcscheme | 84 +++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 AIStudyApp/AIStudyApp.xcodeproj/xcshareddata/xcschemes/AIStudyApp.xcscheme diff --git a/AIStudyApp/AIStudyApp.xcodeproj/xcshareddata/xcschemes/AIStudyApp.xcscheme b/AIStudyApp/AIStudyApp.xcodeproj/xcshareddata/xcschemes/AIStudyApp.xcscheme new file mode 100644 index 0000000..bdca08d --- /dev/null +++ b/AIStudyApp/AIStudyApp.xcodeproj/xcshareddata/xcschemes/AIStudyApp.xcscheme @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +