Xcode-localizable.strings-并非始终有效 [英] Xcode - localizable.strings - not always working

查看:204
本文介绍了Xcode-localizable.strings-并非始终有效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开发了一个很大的项目,但是现在我一直都遇到一个愚蠢的问题.

I've developed quite a large project, but now I'm getting a silly issue all the time.

我的本​​地化并不总是本地化的.每隔一秒钟,他们就会失败.这是一个已知的Xcode错误吗?

My localizations aren't always localized. Every second build they fail. Is this a known Xcode bug?

我正在运行最新版本的Xcode.

I'm running the latest version of Xcode.

推荐答案

这可能是因为您的解决方案中有两个localizable.strings文件.如果您从另一个项目(例如,ShareKit)中放入源文件,则很容易发生这种情况.请参阅以下其他问题以获取说明和解决方案:

It's probably because there are two localizable.strings files in your solution. It can easily happen if you drop in source files from another project (e.g. ShareKit). See this other question for an explanation and a solution: Localisation strings not always work having ShareKit in a project

这篇关于Xcode-localizable.strings-并非始终有效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆