Command /usr/sbin/chown failed with exit code 1?

Yet a third problem with the same error... Different solution as well. In my case, the default install group $(INSTALL_GROUP) was a windows domain and had \ in it, which translated to space and caused the build to fail.. I fixed it by changing my install group to be admin.

enter image description here


Your name entered in Install Owner should match the name of your Mac OS login under which you are logged in and the Name of Apple's Dev License and certificates.

So go to System Preferences | Users & Groups and set a Full name that matches your Apple's Developer License name