Repository navigation
Fix Iroh framework metadata for TestFlight - #8147
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: ⛔ Files ignored due to path filters (3)
📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThe PR pins ChangesiOS framework validation
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
Suggested reviewers: ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Greptile SummaryThis PR fixes App Store Connect rejection errors 90530/90360 by bumping iroh-ffi from
Confidence Score: 5/5Safe to merge — the changes are narrowly scoped to bumping the iroh-ffi lockfiles and inserting a pre-upload validation gate that exits early on bad framework metadata. All three cmux-owned Package.resolved files are updated together with the Package.swift constraint change. The new shell validation function follows the same extract-inspect-cleanup pattern as the existing verify_* functions, cleans up its temp directory in every branch, and is correctly placed before the EXPORT_ONLY early-exit so the regression test exercises it end-to-end. The test's {{...}} braces are correctly escaped inside an f-string and produce valid dict literals in the generated fake binary. No logic errors, no resource leaks, no lockfile drift. No files require special attention. Important Files Changed
Sequence Diagram%%{init: {'theme': 'neutral'}}%%
sequenceDiagram
participant Script as upload-testflight.sh
participant XCB as xcodebuild (export)
participant PB as PlistBuddy
participant ASC as App Store Connect
Script->>XCB: -exportArchive
XCB-->>Script: IPA (with embedded frameworks)
Script->>Script: verify_ipa_aps_environment_production (manual signing skips)
Script->>Script: verify_ipa_framework_minimum_os_versions
Note over Script: unzip IPA → find *.framework dirs
Script->>PB: Print :MinimumOSVersion (per framework)
alt MinimumOSVersion absent or malformed
PB-->>Script: empty / error
Script-->>Script: exit 1 (refuse upload)
else MinimumOSVersion present and valid
PB-->>Script: e.g. "17.5"
Script->>Script: verify_ipa_bundle_identity
Script->>ASC: altool / asc upload
end
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
sequenceDiagram
participant Script as upload-testflight.sh
participant XCB as xcodebuild (export)
participant PB as PlistBuddy
participant ASC as App Store Connect
Script->>XCB: -exportArchive
XCB-->>Script: IPA (with embedded frameworks)
Script->>Script: verify_ipa_aps_environment_production (manual signing skips)
Script->>Script: verify_ipa_framework_minimum_os_versions
Note over Script: unzip IPA → find *.framework dirs
Script->>PB: Print :MinimumOSVersion (per framework)
alt MinimumOSVersion absent or malformed
PB-->>Script: empty / error
Script-->>Script: exit 1 (refuse upload)
else MinimumOSVersion present and valid
PB-->>Script: e.g. "17.5"
Script->>Script: verify_ipa_bundle_identity
Script->>ASC: altool / asc upload
end
Reviews (1): Last reviewed commit: "fix(ios): pin Iroh framework with deploy..." | Re-trigger Greptile |
Fix the App Store Connect 90530/90360 rejection caused by Iroh.framework missing MinimumOSVersion.
Verification:
Need help on this PR? Tag
/codesmithwith what you need. Autofix is disabled.Summary by cubic
Fixes App Store Connect rejections (90530/90360) by ensuring embedded frameworks declare MinimumOSVersion and by pinning the Iroh FFI build. Prevents bad IPAs from being uploaded to TestFlight.
Bug Fixes
Dependencies
iroh-ffito 1.0.2-cmux.2 across all SwiftPM lockfiles.Written for commit 8a0ab61. Summary will update on new commits.
Summary by CodeRabbit
Bug Fixes
Tests
Chores