Red > Green > Refactor > Red

cycle is based on desire

Terminating app due to uncaught exception ‘NSInternalInconsistencyException', reason: 'Could not load NIB in bundle:

error Snippet

Terminating app due to uncaught exception ‘NSInternalInconsistencyException',
reason: 'Could not load NIB in bundle:

check

If you're working on project 'testproject'

  • 1
    • XYZ.xib exist on
      • Xcode IDE
      • under directory 'testproject' (*)
  • 2
    • click object xib
    • click File's Owner
    • click Identity Inspector
    • Custom Class > Class is respond to View Controller
  • 3
    • 1st arg of 'initWithNibName' point to XYZ

(*)

  • When the case you replace XYZ.xib...
    • delete 'original XYZ.xib' first
    • after that, create XYZ.xib
    • then check 2 and 3

reference

very thanks for sharing knowledge

stackoverflow.com