使用存档构建模式构建项目以进行分发时,将显示以下错误.在调试或发布模式下构建时,一切正常.提到的目录是空的.目录权限设置为当前用户的完全访问权限.有任何想法吗?
CopyStringsFile /Users/username/Library/Developer/Xcode/DerivedData/ProjectName-bikjmxotbfpkybhkqwlxysxcibrk/ArchiveIntermediates/ProjectName/InstallationBuildProductsLocation/Applications/ProjectName.app/es.lproj/Localizable.strings ProjectName/Resources/es.lproj/Localizable.strings
cd /Users/username/Coding/proj/game/ProjectName
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/bin:/usr/local/git/bin"
builtin-copyStrings --validate --inputencoding utf-8 --outputencoding binary --outdir /Users/username/Library/Developer/Xcode/DerivedData/ProjectName-bikjmxotbfpkybhkqwlxysxcibrk/ArchiveIntermediates/ProjectName/InstallationBuildProductsLocation/Applications/ProjectName.app/es.lproj -- ProjectName/Resources/es.lproj/Localizable.strings
error: failed to remove /Users/username/Library/Developer/Xcode/DerivedData/ProjectName-bikjmxotbfpkybhkqwlxysxcibrk/ArchiveIntermediates/ProjectName/InstallationBuildProductsLocation/Applications/ProjectName.app/es.lproj/Localizable.strings: “Localizable.strings” couldn’t be removed.
Run Code Online (Sandbox Code Playgroud) 谁能帮帮我吗?我该怎么做才能修复错误"文件InfoPlist.strings因为没有这样的文件而无法打开"?它是在我从SVN更新我的项目后出现的.实际上我的项目中有InfoPlist.strings,我不知道为什么Xcode没有看到它.
也许以下信息将帮助您了解正在发生的事情:当我通过单击旁边的三角形展开InfoPlist.strings时,它会显示:InfoPlist.strings(英文),InfoPlist.strings(德语),InfoPlist.strings(法国).英语是黑色的,但法语和德语是红色的,所以我认为它们可能有问题,这可能是错误的原因.此外,我有Localizable.strings,其行为方式类似.它有(扩展时)Localizable.strings(英文),Localizable.strings(德语),Localizable.strings(法语),就像在InfoPlist.strings中一样,英语是黑色,而法语和德语是红色.
当我查看项目的文件夹时 - 其中有以下内容:名为en.lproj的文件夹包含Localizable.strings和InfoPlist.strings.名为fr.lproj和de.lproj的文件夹包含相同的文件 - Localizable.strings和InfoPlist.strings.好像我已经描述了一切.请解释我该怎么做.我使用Xcode 4.2