I'm localizing my app. I have already accomplished Use Base Internationalization and added 1 set language of files: MainStoryboard.strings
(French) & InfoPlist.strings
(French) which works fine.
My problem is that any changes I now make to the MainStoryboard.storyboard (like changing a label field font color) do not reflect the change when I run the app.
What am I doing wrong? Can you not change the storyboard attributes once you have done the use base internationalization?
Xcode will compile your storyboard to something like
MainStoryboard.storyboardc
and store thestoryboardc
file inI believe there is a bug in the mechanism of
Base Internationalization
, which makes Xcode just use the oldstoryboardc
rather than compile a new one. Thus, your changes to storyboard will not appear after usingBase Internationalization
.To solve it, just remove the
Build
folder.Xcode will compile storyboard again after deleting the folder.
If it still doesn't work, you may need to reset your simulator.