I'm getting a strange error: 'Could not find a storyboard named 'Main' in bundle NSBundle'
when trying to run my app on a real iOS device.
I have the file in my directory, and it works fine in the simulator. However, in the Copy Bundle Resources
section, the file Main.storyboard
is red.
I've tried removing it and adding it again, restarting Xcode, cleaning build, etc. with no avail. This is the warning I get in Xcode:
/Users/ajay/Documents/avx/avx/Base.lproj/Main.storyboard: Internationalization of /Users/ajay/Documents/avx/avx/Base.lproj/Main.storyboard is not available when compiling for targets before iOS 6.0
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…