Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS archiving Command /usr/sbin/chown failed with exit code 1

I am using react native to develop my first cross-platform app. On my attempts to archive it, I encounter, the following error. I think it only happens in yoga library(?) or something. The error lies under yoga in the left pane...

Showing Recent Errors Only
SetOwnerAndGroup username:domänen-benutzer /Users/username/Library/Developer/Xcode/DerivedData/ReactHandHeld-asokbujgobowgaaaypozpydvtdur/Build/Intermediates.noindex/ArchiveIntermediates/ReactHandHeld/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libyoga.a
    cd /Users/username/ReactHandHeld/node_modules/react-native/React
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /usr/sbin/chown -RH username:domänen-benutzer /Users/username/Library/Developer/Xcode/DerivedData/ReactHandHeld-asokbujgobowgaaaypozpydvtdur/Build/Intermediates.noindex/ArchiveIntermediates/ReactHandHeld/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libyoga.a

chown: domänen-benutzer: illegal group name
Command /usr/sbin/chown failed with exit code 1
like image 298
Clojurevangelist Avatar asked Jan 06 '18 18:01

Clojurevangelist


1 Answers

I had exactly the same issue, I never created any group with german special characters (umlauts), I spent some time trying to figure out where the folder is located on disk or in the project but in vain, then I deleted derived data, cleaned the project, restarted Xcode and everything was working again.

like image 161
Alaa Eddine Cherbib Avatar answered Nov 11 '22 21:11

Alaa Eddine Cherbib