def find_and_setup_xcode_project(ask_for_scheme: true)
      UI.message("Parsing your local Xcode project to find the available schemes and the app identifier")
      config = {} # this is needed as the first method call will store information in there
      if self.project_path.end_with?("xcworkspace")
        config[:workspace] = self.project_path
      else
        config[:project] = self.project_path
      end

      FastlaneCore::Project.detect_projects(config)
      self.project = FastlaneCore::Project.new(config)

      if ask_for_scheme
        self.scheme = self.project.select_scheme(preferred_to_include: self.project.project_name)
      end

      self.app_identifier = self.project.default_app_identifier # These two vars need to be accessed in order to be set
      if self.app_identifier.to_s.length == 0
        ask_for_bundle_identifier
      end
    end
def find_and_setup_xcode_project(ask_for_scheme: true)
      UI.message("Parsing your local Xcode project to find the available schemes and the app identifier")
      config = {} # this is needed as the first method call will store information in there
      if self.project_path.end_with?("xcworkspace")
        config[:workspace] = self.project_path
      else
        config[:project] = self.project_path
      end

      FastlaneCore::Project.detect_projects(config)
      self.project = FastlaneCore::Project.new(config)

      if ask_for_scheme
        self.scheme = self.project.select_scheme(preferred_to_include: self.project.project_name)
      end

      self.app_identifier = self.project.default_app_identifier # These two vars need to be accessed in order to be set
      if self.app_identifier.to_s.length == 0
        ask_for_bundle_identifier
      end
    end
def find_and_setup_xcode_project ( ask_for_scheme : true ) UI . message ( "Parsing your local Xcode project to find the available schemes and the app identifier" ) config = { } # this is needed as the first method call will store information in there if self . project_path . end_with? ( "xcworkspace" ) config [ :workspace ] = self . project_path else config [ :project ] = self . project_path end FastlaneCore :: Project . detect_projects ( config ) self . project = FastlaneCore :: Project . new ( config ) if ask_for_scheme self . scheme = self . project . select_scheme ( preferred_to_include : self . project . project_name ) end self . app_identifier = self . project . default_app_identifier # These two vars need to be accessed in order to be set if self . app_identifier . to_s . length == 0 ask_for_bundle_identifier end end
Helpers
 Every installation setup that needs an Xcode project should
 call this method
Helpers Every installation setup that needs an Xcode project should call this method