Solve error: ProcessException: Operation not permitted in MacOS flutter app

When building a macos flutter application spawning an external command will throw:

error: ProcessException: Operation not permitted

The solution is to disable the sandbox mode in the XCode project. Open the XCode macos workspace and change in the .entitlements file (DebugProfile and Release) the App Sandbox value to NO:

Popular posts from this blog

Soving AccessDenied on Google Cloud Storage domain mapping

Fixing "DerInputStream.getLength(): lengthTag=109, too big" in Android Studio

Simple Samba setup on Lubuntu