Repository navigation
fix: 读取内部 workspace 父工程 pbx 前校验路径 - #112
Merged
Merged
Conversation
- CocoaPods 判定读取 project.pbxproj 前先规范化并校验允许目录 - 覆盖 Host.xcodeproj/project.xcworkspace 的父工程 pbx 外链 - 普通工程入口保持相同读取前约束 - 增加内部 workspace 父工程外链及合法路径回归测试
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
来源
修复
2026-11-13/MCP第七轮复审/复审报告.md中的 1 项问题。修复内容
validate_ios_cocoapods_paths在读取用于判断 CocoaPods 的project.pbxproj之前,先对实际路径执行 canonicalize + 允许目录校验Host.xcodeproj/project.xcworkspace内部 workspace:父工程自己的project.pbxproj不在 workspace bundle 扫描范围内,现在会在读取前单独校验.xcodeproj入口也走同一读取前约束,不因此前 bundle 已扫描而跳过验证
cargo fmt --all --check-D warningscargo test -p shellsmith-mcp:3 个单元测试 + 39 个集成测试通过cargo test -p shield-cli:22 passedcargo test -p shield-core:263 passed, 8 ignoredpython3 -m unittest discover -s scripts/tests:48 passedproject.xcworkspace的父工程project.pbxproj -> 外部文件时,check 和 protect 均在 MCP 边界拒绝未实机验证