Missing headers in XCode project generated by Unity

When I build XCode project from Unity and then open it in XCode, I get a couple of errors about missing header files. Each .mm file #imports a corresponding .h file, but there are actually no headers in Project/Classes folder, so the compiler fails to find them. For example:
/Users/0xc0dec/dev/Unity_iOS_Test/Build/Test/Classes/AppController.mm:1:9: ‘AppController.h’ file not found
I’ve been trying various player settings combinations in Unity, but with the same result. I set Target device to “iPhone only”, SDK Version to “Device SDK”, Target iOS version to 6.0. Other values don’t help either. Am I missing some important option?

Installed SDK version is 6.1, Unity version: 4.0.0f7

I ended up installing the latest version of Unity (4.1.2f1), and everything works fine now. It seems like it was an odd Unity bug.