[英]Localized app crashes only on non-base language and only when not running with Xcode
Our iOS (Swift) app has English as the base language, and is localized to have Spanish as well. 我们的iOS(Swift)应用程序以英语为基本语言,并且已本地化为西班牙语。 English works like a charm, but in Spanish devices, the app crashes within seconds of opening when it is not running along Xcode.
英语的工作原理很吸引人,但是在西班牙语设备中,如果该应用未沿Xcode运行,则该应用会在打开后的几秒钟内崩溃。 Given this only happens when Xcode isn't running it's been hard to debug - any idea what could be causing this?
鉴于这种情况仅在Xcode不运行时发生,因此很难调试-知道是什么原因导致的吗?
I can't say for sure that I had the same problem as you, but I was getting a similar crash for non-base and non-localized languages. 我不能肯定地说我和您有同样的问题,但是对于非基础语言和非本地化语言,我也遇到了类似的崩溃。 Originally I had the localized languages as
本来我有本地化的语言
Then I added Base and deleted English (moved it to base first) to give 然后我添加了Base并删除了英语(首先将其移至base)以给出
After that it wasn't crashing anymore when I switched to another language. 之后,当我切换到另一种语言时,它不再崩溃。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.