Skip to content

fix(ios): prevent Cordova package generation race condition#8360

Open
MOHITKOURAV01 wants to merge 1 commit intoionic-team:mainfrom
MOHITKOURAV01:fix-ios-cordova-race-8251
Open

fix(ios): prevent Cordova package generation race condition#8360
MOHITKOURAV01 wants to merge 1 commit intoionic-team:mainfrom
MOHITKOURAV01:fix-ios-cordova-race-8251

Conversation

@MOHITKOURAV01
Copy link

This PR fixes the issue reported in #8251 where the CLI does not wait for Cordova package .swift and .podspec files to finish generating before continuing the update flow.

The package manager checks were addressed in #8321, and this PR addresses the remaining race condition.

Changes:

  • Await generateCordovaPackageFile inside generateCordovaPackageFiles.
  • Await generateCordovaPodspec inside generateCordovaPodspecs.

Fixes #8251

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: iOS Prerequisite Checks & Cordova Package Generation Race

1 participant