Sha256: b51abcec6f957ff6fb7761a0dbc5a94e29598f77275da87b32be74ab53f43b86

Contents?: true

Size: 793 Bytes

Versions: 23

Compression:

Stored size: 793 Bytes

Contents

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

        Helper.log.info "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

23 entries across 23 versions & 1 rubygems

Version Path
fastlane-1.66.0 lib/fastlane/actions/recreate_schemes.rb
fastlane-1.65.0 lib/fastlane/actions/recreate_schemes.rb
fastlane-1.64.0 lib/fastlane/actions/recreate_schemes.rb
fastlane-1.63.1 lib/fastlane/actions/recreate_schemes.rb
fastlane-1.63.0 lib/fastlane/actions/recreate_schemes.rb
fastlane-1.62.0 lib/fastlane/actions/recreate_schemes.rb
fastlane-1.61.0 lib/fastlane/actions/recreate_schemes.rb
fastlane-1.60.0 lib/fastlane/actions/recreate_schemes.rb
fastlane-1.59.0 lib/fastlane/actions/recreate_schemes.rb
fastlane-1.58.0 lib/fastlane/actions/recreate_schemes.rb
fastlane-1.57.0 lib/fastlane/actions/recreate_schemes.rb
fastlane-1.56.0 lib/fastlane/actions/recreate_schemes.rb
fastlane-1.55.0 lib/fastlane/actions/recreate_schemes.rb
fastlane-1.54.0 lib/fastlane/actions/recreate_schemes.rb
fastlane-1.53.0 lib/fastlane/actions/recreate_schemes.rb
fastlane-1.52.0 lib/fastlane/actions/recreate_schemes.rb
fastlane-1.51.0 lib/fastlane/actions/recreate_schemes.rb
fastlane-1.50.0 lib/fastlane/actions/recreate_schemes.rb
fastlane-1.49.0 lib/fastlane/actions/recreate_schemes.rb
fastlane-1.48.0 lib/fastlane/actions/recreate_schemes.rb