This question already has an answer here:
- Xcode 6.3: Could not load NIB in bundle 4 answers
I updated my XCode from 6.2 to 6.3 today. I adapted all the swift changes, but when I run the application, I get errors for every NIB I try to load that has ~ipad
or ~iphone
. (NIB could not be loaded)
Nibs that don't have that device modifier load as usual. If I remove the ~iphone
or ~ipad
, the nib can be found again, but obviously thats no solution, because it's an Universal App.
Same goes for every other file type, that I try to load via code e.g. storyboards.
Seems to be related to size classes. You can't have size classes enabled in a file that uses the ~iphone
/ ~ipad
device modifier - Xcode 6.3: Could not load NIB in bundle
来源:https://stackoverflow.com/questions/29558040/since-xcode-6-3-nib-could-not-be-loaded