Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Storyboards are missing in "copy bundle resources"

Tags:

I'm using base internationalization to internationalize my app. Once I used it, my storyboards became red in "copy bundle resources" (they were normal before I used base internationalization): enter image description here

I have tried Xcode Copy Bundle Resources can't find files, Base internationalization and multiple storyboard not working right and Base Internationalization and “Could not find a storyboard named […]”. unfortunately, none of them worked for me.

how can I make it normal?

edit

this problem still exists in xcode5

like image 736
Brian Avatar asked Sep 12 '13 08:09

Brian


1 Answers

Make sure you have all the "Localizable strings" checkboxes ticked in the file inspector when the MainStoryboard file is selected.

I had a problem that looks similar. I transitioned my project's main storyboard to use base internationalization. When selecting the MainStoryboard file, in the file inspector, I saw a new entry called Base, which was using the English localization. So, thinking that "Base" already accounted for the english part I unchecked the English "Localizable Strings" entry in the file inspector. Apparently that was the origin of my problems. After that, the MainStoryboard file would show up in red in the "Copy bundle resources" list. Checking again the English localizable strings entry fixed the problem.

like image 200
Ausiàs Avatar answered Nov 09 '22 17:11

Ausiàs