Since Xcode 4.5, we are unable to build for armv6 and thus unable to support devices like iPhone 3G anymore.
Would it be possible to use, say, Xcode 4.3 to generate
It appears that someone else figured out how to do it, see this SO question.
I haven't tested it yet myself, though.