部署到iOS4,本地化停止工作 [英] Deployed to iOS4, localization stopped working

查看:95
本文介绍了部署到iOS4,本地化停止工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于今天升级一切以部署到OS4设备,它不再识别本地化的XIB和plist。 (它=既不是iPhone模拟器也不是iPhone。)在OS4之前,切换语言导致加载了正确的本地化文件,但现在却不是这样。是否需要重新创建,轻推或重命名?自4月以来,它一直在模拟器和设备上工作,我的代码中没有任何警告。

Since upgrading 'everything' today to deploy to OS4 devices, it no longer recognizes localized XIBs and plists. (It=neither iPhone simulator or iPhone.) As in, before OS4, switching language caused the correct localized files to be loaded, but not so now. Does something need to be 'recreated', 'nudged', or renamed? It has worked on simulator and devices since April, and I get no warnings in my code.

语言是英语和sv_SE,以防语言发生变化代码。

The languages are English and sv_SE, in case there has been a change in language codes.

推荐答案

清理XCode Projects文件夹(常规维护)后,它可以运行。我还有其他XIB问题。我有两个文件夹,在XCode Projects文件夹中有两个版本的'same'xcode项目。可能在某一点上,我解压缩了旧版本以检查某些内容或从中复制代码,并且混淆了XCode关于使用哪些文件,这是我的猜测。对不起。

After cleaning up the XCode Projects folder (general maintenance), it works. I also had other problems with XIBs. I had two folders with two versions of the 'same' xcode project in the XCode Projects folder. Likely at one point I had unzipped an older version to check something or copy code from, and that confuses XCode about which files are used, is my guess. Sorry about that.

这篇关于部署到iOS4,本地化停止工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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