Cannot type using non-QWERTY keyboards on iOS-Collection of common programming errors

My iPhone app can’t seem to use soft keyboards that doesn’t use the US-like QWERTY layout. That is when I set the keyboard to French or Germany, even text fields cannot take in text and an error message No input manager class for input mode error is shown in the console (when debugged under Xcode). Switching to the Emoji keyboard also shows the same problem. But the problem doesn’t occur on QWERTY keyboard layouts, like Dutch and Indonesian keyboards.

The all cases are consistent and reproducible both the device (iPhone 4) and the iPhone simulator. These are error messages in the Xcode’s debugger console

When the keyboard is set to French:

No input manager class for input mode: fr_FR

When the keyboard is set to Germany:

No input manager class for input mode: de_DE

When the keyboard is set to Emoji:

No input manager class for input mode: emoji

My app’s deployment target is iOS 3.1.3 (I’m still supporting 1st gen devices) but the development environment is Xcode 4.3.1 and iOS 5.1 Simulator. (I don’t know whether this is relevant but just in case).

Anybody can help how to fix this?

Thanks in advance.