我不知道这是什么。我正在尝试存档我的应用程序。我知道有很多答案,但是我听不懂任何答案。所以请有人知道如何解决这个问题可以告诉我。
SetOwnerAndGroup shivamrishi:staff /Users/shriyarishi/Library/Developer/Xcode/DerivedData/QuoteU-cqodwskdmizaqjgavubtjxrtedhv/Build/Intermediates/ArchiveIntermediates/QuoteU/InstallationBuildProductsLocation/Applications/QuoteU.app
cd "/Users/shriyarishi/Desktop/QuoteU "
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/usr/sbin/chown -RH shivamrishi:staff /Users/shriyarishi/Library/Developer/Xcode/DerivedData/QuoteU-cqodwskdmizaqjgavubtjxrtedhv/Build/Intermediates/ArchiveIntermediates/QuoteU/InstallationBuildProductsLocation/Applications/QuoteU.app
最后的代码
chown: /Users/shriyarishi/Library/Developer/Xcode/DerivedData/QuoteU-cqodwskdmizaqjgavubtjxrtedhv/Build/Intermediates/ArchiveIntermediates/QuoteU/InstallationBuildProductsLocation/Applications/QuoteU.app: Operation not permitted
Command /usr/sbin/chown failed with exit code 1
图片https://drive.google.com/file/d/0B2z_d4wEKPEFVWsxV0xUczhFck0/view?usp=sharing
只有超级用户可以整理文件。从chown(8)
手册页:
出于明显的安全原因,文件的所有权只能由超级用户更改。
sudo
如果要更改文件所有权,则应该使用。sudo
将需要您的密码,并且您admin
属于计算机的组(即,您必须标记为允许管理计算机)。
sudo /usr/sbin/chown -RH shivamrishi:staff \
/Users/shriyarishi/Library/Developer/Xcode/DerivedData/QuoteU-cqodwskdmizaqjgavubtjxrtedhv/Build/Intermediates/ArchiveIntermediates/QuoteU/InstallationBuildProductsLocation/Applications/QuoteU.app
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句