I have a several XIB files in my iOS project for various custom table cells. I’ve just added another, but for some reason Xcode will not build this (or any subsequent) XIBs into the project !
The appropriate flags are set in the files inspector to include the XIB, and the XIB appears in the correct build phase. All XIBs were working as expected up until this point, and no settings have been altered in the project

I’ve experimented with adding more XIBs with different names, but none of them are getting built into the project (verified by inspecting the build application’s NIB files).

What is going on ? Is this a bug in Xcode ? Anybody know how to resolve it ?
Update
I deleted the derived data directory, and lo and behold the NIB is now appearing in the build product – so I’ll chalk this one up as a mysterious Xcode bug.
In the current version of Xcode, when things get weird and quitting+relaunching doesn’t solve it, deleting your DerivedData folder usually will.
You can even do it as part of a build script or as a cron job:
rm -rf ~/Library/Developer/Xcode/DerivedData