Repository navigation
sdk: prune Xcode when installing from xip - #280
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughSDKBuilder now centralizes the required Xcode app contents and cleans selected Xcode app inputs before SDK installation. The SDK epoch increases from 2 to 3. App slim-build inputs remain unchanged. ChangesXcode SDK input handling
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to No actionable issue is established that would prevent merging after normal checks. 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
52b2f39 to
0fa1246
Compare
0fa1246 to
9d9e41b
Compare

What does this PR do?
We only need
Xcode.app/Contents/{Info.plist,version.plist,Developer}for the SDK (and expect that to continue being the case). We already delete other directories when usingxtool sdk install Xcode.appbut we weren't doing this onxtool sdk install Xcode.xip. Prune on the xip path as well.Also prune on update (and bump the SDK epoch) so that existing users benefit from this.
How was it tested?
Xcode.app/Contentsonly contains those three thingsXcode.app/Contentsonly contains those three things + we don't modify the original appxtool sdk build Xcode.app), confirm we don't clobber the input Xcode appAI tool usage
How much of this PR was AI-assisted? (check one)
Summary by CodeRabbit
Contentsfolder are removed during XIP builds and app updates. Slim builds remain unchanged.