0

I get this error when I build the app for iOS: Command PhaseScriptExecution failed with a nonzero exit code.

Screenshot of the build error in Xcode

VipiN Negi
  • 2,994
  • 3
  • 24
  • 47
Yacino
  • 1
  • 1
  • Hi Yacino, and welcome to StackOverflow! Please try to copy error message text instead of attaching screenshots. – hacker1024 Apr 14 '21 at 05:47

1 Answers1

1

This error is caused by an old version of the win32 package that uses Dart FFI in a way that was prohibited with the release of Dart 2.12.

To fix this, update the win32 package. If the package is a transitive dependency, you can use dependency_overrides.

hacker1024
  • 3,186
  • 1
  • 11
  • 31