chore: sync upstream PR #8663 - fix(cli): keep -fno-objc-arc libraries out of the noarc folder

Merged
RI
10d ago
+127-5

Merge Conflict Review Required

The sync of upstream PR #8663 from @RaphaelFakhri encountered merge conflicts.

Original PR: https://github.com/ionic-team/capacitor/pull/8663

What happened

  • Git applied the upstream-preferred merge strategy
  • This PR requires CI and manual review before merging

Synced from upstream by Capacitor+ Bot


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

Summary by CodeRabbit

  • Bug Fixes
    • iOS updates now adjust mismatched Swift Package Manager dependency versions to match the installed Capacitor major version, using its prerelease version when available, and display a warning. Missing or invalid dependency versions are skipped.
    • Improved handling of iOS static libraries and frameworks during updates, including libraries that use non-ARC compilation. These files are now vendored at the expected location without being incorrectly placed in the non-ARC destination.