The issue is fixed with recent update of Mac OSX.
I am using Xcode 8 on Mac Mini running OSX El Capitan (10.11.6). When I deploy my app
These commands did the trick for me:
sudo chown root:admin /tmp; sudo chmod 1777 /tmp sudo chown root:wheel /private/tmp; sudo chmod 1777 /private/tmp