Fix too early deinit
leave xml for pbxproj