07-21-2023, 05:45 PM
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
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