INNER CODE UNIT · Ruby

self

SiarheiFedartsou/fastlane-plugin-versioning · lib/fastlane/plugin/versioning/actions/get_build_number_from_plist.rb:32

      def self.details
        [
          "This action will return the current build number set on your project's Info.plist.",
          "note that you can pass plist_build_setting_support: true, in which case it will return from your xcodeproj."
        ].join(' ')
      end

      def self.available_options
        [
          FastlaneCore::ConfigItem.new(key: :xcodeproj,
                             env_name: "FL_BUILD_NUMBER_PROJECT",
                             description: "optional, you must specify the path to your main Xcode project if it is not in the project root directory",
                             optional: true,
                             verify_block: proc do |value|
                               UI.user_error!("Please pass the path to the project, not the workspace") if value.end_with? ".xcworkspace"
                               UI.user_error!("Could not find Xcode project at path '#{File.expand_path(value)}'") if !File.exist?(value) and !Helper.is_test?
                             end),
          FastlaneCore::ConfigItem.new(key: :target,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…