ios - Xcode 6.3: Could not load NIB in bundle -
when compiled using xcode 6.3 (ios 8.3 sdk), nib filenames end ~ipad or ~iphone in circumstances. example, viewcontroller~ipad.xib becomes viewcontroller~ipad~ipad.nib. causing crash because app doesn't expect compiled nib files have double suffix.
to fix this, uncheck “use size classes” in affected documents in interface builder.
this appears bug in version of ibtool included xcode 6.3 (and ios 8.3 sdk). it's happening in following circumstances:
- you have device-specific input file
*~(iphone|ipad).xibsize classes enabled. - your deployment target older ios 8.0.
i able reproduce problem on command line:
xcrun --sdk iphonesimulator8.3 ibtool --minimum-deployment-target 7.0 --compile viewcontroller~ipad.nib viewcontroller~ipad.xib if you're seeing same behavior, please duplicate this radar. appears fixed in latest xcode 6.4 beta.