Make sure FLUTTER_ROOT path is the same for Debug and Release. It must be a path of your Mac, not another developer's Mac.