Flutter – iOS: Command /bin/sh failed with exit code 255

Flutter – iOS: Command /bin/sh failed with exit code 255

I developed in Android studio. Packaging in Xcode will report an error “Flutter – iOS: Command /bin/sh failed with exit code 255”.

solution:

  • 1 execute flutter clean in Android studio Terminal.
  • 2 after execution, execute flutter build ios --release
  • 3 to Xcode directly package.

Read More: