A few fixes to xcode exporter.