Xcode5 generator: Avoid using nil Resources
Xcode5 generator: Misc fixes

Fix indentation
Fix no sources emitted without hints.