[codex] Support project iOS Swift sources#6
Conversation
|
MeshX integration evidence is now ready for maintainer review:
Current visible state from the requesting token: open, non-draft, mergeable, GitGuardian success, no visible review submissions or inline review comments, merge-state |
- ble-lab-cheat-sheet.md: integrate the capture-hybrid-run.sh helper into the launch patterns and validation-day order; flag the helper as the preferred path for reproducible runs. - upstream_mob_migration_checklist.md: new copy-paste-runnable migration doc for when GenericJam/mob_dev#6 + GenericJam/mob_new#5 land. Expands the high-level "Post-Merge MeshX Migration Checklist" section in docs/upstream_mob_patches.md into the exact dep bump → config migration → patch removal → verification → audit-flip sequence. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
|
Thanks @dl-alexandre — landed this to master as 78426e8 with your authorship preserved. The branch was about 4 days behind master so it needed a rebase against the CHANGELOG entry added in 514add7. Validation:
The |
Adds MobDev.Plugin.Report.with_vetting/2 that runs each activated plugin's source tree through Audit.audit_plugin/2 (Phase 2 #1) and the validator's swift-imports + Android permissions checks (Phase 2 #3). The result is attached to each row as a :vetting summary. render/1 detects rows with vetting and adds a VETTING column whose shape is: - "clean" — zero findings, zero capability errors - "1H 2M" — compact audit summary (zero categories omitted) - "caps:2" — capability errors only - "caps:2 1M" — combined The Mix task now passes Mix.Project.deps_paths() through so with_vetting/2 can locate each plugin's source dir. Rows without a dir, or :installed-not-activated rows, keep vetting=nil and render as a single dash — no false-positive findings against plugins the host isn't actually using. +5 focused tests on the rendering shape. Closes Phase 2 #6 of plugin_extraction_plan.md.
Summary
mob.exs :ios_swift_sourcessupport for project-provided iOS Swift files-Dproject_swift_sourcesinto both iOS simulator and device Zig build callsWhy
MeshX currently carries a downstream
mob_devpatch so its iOS app build can compile project Swift bridge sources alongside Mob Swift sources. This makes that behavior a genericmob.exsextension point instead of a MeshX-specific dependency patch.MeshX integration evidence
mix meshx.patch_deps --checkreports the local patches already applied for the locked dependency versions.Validation
mix test test/mob_dev/native_build_test.exsgit diff --check