Omar Shamali

How to fix error: Sandbox: rsync.samba, on XCode Swift

Author: Omar Shamali
Last Modification:
Writing Date:

If you are trying to run your app on XCode and encountered this error or similar but starting with rsync.samba:

Sandbox: rsync.samba(8850) deny(1) file-read-data /Users/[user]/Library/Developer/Xcode/DerivedData/icore-hleyrcorabbstyacppurcqrzkanei/Build/Products/Debug/icore.app/Contents/Frameworks/Alamofire.framework/Versions

The solution is pretty simple, navigate to project, then click on project app name, click on build settings tab, in the search bar write "ENABLE_USER_SCRIPT_SANDBOXING", change value to "No", photo demonstration:

xcode fix rsync

Using XCode: Version 15.1. OS: 14.2.1