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

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

Simple Samba setup on Lubuntu

Solving: insufficient permissions for device: user in plugdev group; are your udev rules wrong