def load_schemes(workspace_dir_path)
      # Normalizes path to directory of workspace needed for file_reference.absolute_path
      workspaces_dir = workspace_dir_path
      if File.extname(workspace_dir_path) == '.xcworkspace'
        workspaces_dir = File.expand_path('..', workspaces_dir)
      end

      file_references.each do |file_reference|
        project_full_path = file_reference.absolute_path(workspaces_dir)
        load_schemes_from_project(project_full_path)
      end

      # Load schemes that are in the workspace container.
      workspace_abs_path = File.absolute_path(workspace_dir_path)
      Dir[File.join(workspace_dir_path, 'xcshareddata', 'xcschemes', '*.xcscheme')].each do |scheme|
        scheme_name = File.basename(scheme, '.xcscheme')
        @schemes[scheme_name] = workspace_abs_path
      end
    end
def load_schemes(workspace_dir_path)
      # Normalizes path to directory of workspace needed for file_reference.absolute_path
      workspaces_dir = workspace_dir_path
      if File.extname(workspace_dir_path) == '.xcworkspace'
        workspaces_dir = File.expand_path('..', workspaces_dir)
      end

      file_references.each do |file_reference|
        project_full_path = file_reference.absolute_path(workspaces_dir)
        load_schemes_from_project(project_full_path)
      end

      # Load schemes that are in the workspace container.
      workspace_abs_path = File.absolute_path(workspace_dir_path)
      Dir[File.join(workspace_dir_path, 'xcshareddata', 'xcschemes', '*.xcscheme')].each do |scheme|
        scheme_name = File.basename(scheme, '.xcscheme')
        @schemes[scheme_name] = workspace_abs_path
      end
    end
-------------------------------------------------------------------------
 Load all schemes from all projects in workspace or in the workspace container itself

 @param [String] workspace_dir_path
         path of workspaces dir

 @return [void]