以下是我遇到的错误:
1
CopyPNGFile "/Users/admin/Library/Developer/Xcode/DerivedData/dotLang-hfjdkwzpxfuyaibhmihjxdyzyzqx/Build/Intermediates/ArchiveIntermediates/dotLang/InstallationBuildProductsLocation/Applications/dotlang.app/Default@2x.png" "dotLang/Default@2x.png" cd "/Users/admin/Desktop/newCode 2 3 2 2 2 2/dotLang" setenv 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" /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/copypng -compress "" "/Users/admin/Desktop/newCode 2 3 2 2 2 2/dotLang/dotLang/Default@2x.png" "/Users/admin/Library/Developer/Xcode/DerivedData/dotLang-hfjdkwzpxfuyaibhmihjxdyzyzqx/Build/Intermediates/ArchiveIntermediates/dotLang/InstallationBuildProductsLocation/Applications/dotlang.app/Default@2x.png"
䏰\216\346\217ﮚ@A\346\217\320Command /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/copypng emitted errors but did not return a nonzero exit code to indicate failure
2
CopyPNGFile "/Users/admin/Library/Developer/Xcode/DerivedData/dotLang-hfjdkwzpxfuyaibhmihjxdyzyzqx/Build/Intermediates/ArchiveIntermediates/dotLang/InstallationBuildProductsLocation/Applications/dotlang.app/Default-568h@2x.png" "dotLang/Default-568h@2x.png" cd "/Users/admin/Desktop/newCode 2 3 2 2 2 2/dotLang" setenv 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" /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/copypng -compress "" "/Users/admin/Desktop/newCode 2 3 2 2 2 2/dotLang/dotLang/Default-568h@2x.png" "/Users/admin/Library/Developer/Xcode/DerivedData/dotLang-hfjdkwzpxfuyaibhmihjxdyzyzqx/Build/Intermediates/ArchiveIntermediates/dotLang/InstallationBuildProductsLocation/Applications/dotlang.app/Default-568h@2x.png"
The command "copypng" has emitted errors but did not return a nonzero exit code to indicate failure.
3
CopyPNGFile "/Users/admin/Library/Developer/Xcode/DerivedData/dotLang-hfjdkwzpxfuyaibhmihjxdyzyzqx/Build/Intermediates/ArchiveIntermediates/dotLang/InstallationBuildProductsLocation/Applications/dotlang.app/Default-568h@2x.png" "Default-568h@2x.png" cd "/Users/admin/Desktop/newCode 2 3 2 2 2 2/dotLang" setenv 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" /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/copypng -compress "" "/Users/admin/Desktop/newCode 2 3 2 2 2 2/dotLang/Default-568h@2x.png" "/Users/admin/Library/Developer/Xcode/DerivedData/dotLang-hfjdkwzpxfuyaibhmihjxdyzyzqx/Build/Intermediates/ArchiveIntermediates/dotLang/InstallationBuildProductsLocation/Applications/dotlang.app/Default-568h@2x.png"
我做错了什么?
(What am I doing wrong?)
这里涉及到一个名为 CopyPNGFile 的命令行工具,它可以将 PNG 文件复制到指定位置并进行压缩。由于路径或文件名错误,该命令导致了错误,但是没有返回非零的退出码来表明失败。