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: