Adding a custom Objective-C or Objective-C++ file to an iOS project currently breaks the build. You can reproduce it by adding an empty file with
to the project file and run it for the simulator target. The resulting error is something like:
(it might be another library if adding others to the project, so I guess the library itself is irrelevant).
This only happens for Simulator build targets and not for devices. Probably there is something messed up in the default project configuration from qmake?