Sha256: 6514c09ce619b8c9f90c628127ef303052b63e143f16ac4c4ad3c6e9a8dc2468

Contents?: true

Size: 789 Bytes

Versions: 37

Compression:

Stored size: 789 Bytes

Contents

module Fastlane
  module Actions
    class RecreateSchemesAction < Action
      def self.run(params)
        require 'xcodeproj'

        UI.message("Recreate schemes for project: #{params[:project]}")

        project = Xcodeproj::Project.open(params[:project])
        project.recreate_user_schemes
      end

      def self.description
        "Recreate not shared Xcode project schemes"
      end

      def self.available_options
        [
          FastlaneCore::ConfigItem.new(
            key: :project,
            env_name: "XCODE_PROJECT",
            description: "The Xcode project"
          )
        ]
      end

      def self.authors
        "jerolimov"
      end

      def self.is_supported?(platform)
        [:ios, :mac].include? platform
      end
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
fastlane-1.90.0 lib/fastlane/actions/recreate_schemes.rb
fastlane-1.89.0 lib/fastlane/actions/recreate_schemes.rb
fastlane-1.88.0 lib/fastlane/actions/recreate_schemes.rb
fastlane-1.87.1 lib/fastlane/actions/recreate_schemes.rb
fastlane-1.87.0 lib/fastlane/actions/recreate_schemes.rb
fastlane-1.86.1 lib/fastlane/actions/recreate_schemes.rb
fastlane-1.86.0 lib/fastlane/actions/recreate_schemes.rb
fastlane-1.85.0 lib/fastlane/actions/recreate_schemes.rb
fastlane-1.84.0 lib/fastlane/actions/recreate_schemes.rb
fastlane-1.83.0 lib/fastlane/actions/recreate_schemes.rb
fastlane-1.82.0 lib/fastlane/actions/recreate_schemes.rb
fastlane-1.81.0 lib/fastlane/actions/recreate_schemes.rb
fastlane-1.80.0 lib/fastlane/actions/recreate_schemes.rb
fastlane-1.70.0 lib/fastlane/actions/recreate_schemes.rb
fastlane-1.69.0 lib/fastlane/actions/recreate_schemes.rb
fastlane-1.68.0 lib/fastlane/actions/recreate_schemes.rb
fastlane-1.67.0 lib/fastlane/actions/recreate_schemes.rb