capacitor icon indicating copy to clipboard operation
capacitor copied to clipboard

Fix iOS CLI checks and Cordova Package.swift generation race

Open MOHITKOURAV01 opened this issue 1 month ago • 1 comments

Related Issue

#8251

Expected Behavior

  1. Ensure checkBundler and checkCocoaPods always run independently during:

    • cap add ios
    • cap update ios
    • cap doctor ios
      This guarantees that missing or misconfigured CocoaPods installations are detected reliably.
  2. Wait for all Package.swift files to finish writing when generating Cordova SPM packages during:

    • cap update ios
      This prevents intermittent issues where some Swift packages fail to register because files were not fully written before the next step executes.

MOHITKOURAV01 avatar Nov 21 '25 10:11 MOHITKOURAV01

hii @eric-horodyski !! Please review the latest changes and let me know if anything else is required. If the fixes look good, I’d appreciate your approval on this PR.

MOHITKOURAV01 avatar Nov 25 '25 11:11 MOHITKOURAV01