Base internationalization and multiple storyboard not working right

后端 未结 11 1828
遇见更好的自我
遇见更好的自我 2020-12-14 19:50

I\'m playing with multiple storyboards and base localization on xCode 4.6. In fact I

I did:

1) edit my project infos localisations: checked \"Use Base Inter

11条回答
  •  不知归路
    2020-12-14 20:28

    Since this was a warning and not an error, I didn’t think it would be a problem at first, but eventually it was my only load. In the right sidebar, leftmost option (the icon that looks like a document), I saw a Localization section with two checkboxes, Base and English. Base was checked and English unchecked.

    enter image description here

    Instead, I checked English, then changed the dropdown to Interface Builder. Then I unchecked Base.

    enter image description here

    When I checked the Build Rule again, Main.storyboard was no longer red. And when I tried to run the app in the 5.1 simulator again, it came up just fine. Note: just checking English/Interface Builder is enough to get the app to run in iOS 5.1, but then you’ll run into an issue where updates to the Storyboard won’t be reflected. You need to uncheck Base so that English is the only version of the storyboard there is; that way updates will always be reflected as soon as you rerun.

提交回复
热议问题