开发者

Problems with localization of .storyboard files

开发者 https://www.devze.com 2023-04-12 21:19 出处:网络
Trying to make my project using storyboard. I changed my info.plist and added entry UIMainStoryboardFile with the name of my storyboard file and other things from documentation. I added new storyboa

Trying to make my project using storyboard.

I changed my info.plist and added entry UIMainStoryboardFile with the name of my storyboard file and other things from documentation. I added new storyboard-file to my project (it was created in Xcode 4.1 and now I'm working with it on 4.2), made interface that i need and decided to localize it.

开发者_运维百科

After adding localizations for it in File Inspector and localizing each file, I don't see any changes when I run the app. Even if i change all localized files, I still see app like it looked before adding localizations in File Inspector. I tried to delete this file and create a new one with another name, but the result was always the same.

When I create a new empty project and do the same thing everything works fine. Or when I remove all localizations for my storyboard-file, everything works too.

What can I do to fix it? What did i miss?

Thanks.


Had the same problem. Solved it by doing a clean, deleting all derived data in filesystem (~/Library/Developer/Xcode/Derived Data) and deleting the App from Simulator.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号