error while build iOS app in Xcode : Sandbox: rsync.samba (13105) deny(1) file-write-create, Flutter failed to write to a file
while building iOS app on Xcode I got these 2 errors, I tried to build the iOS on visual studio code and I got the same errors. the operating system macOS 14.0 beta. processor M1 Pro
Could downgrading the operating system fix that issue?
Solution
Update your Xcode project build option ENABLE_USER_SCRIPT_SANDBOXING to 'No'.