fastlane/lib/fastlane/actions/resign.rb in fastlane_hotfix-2.165.1 vs fastlane/lib/fastlane/actions/resign.rb in fastlane_hotfix-2.187.0

- old
+ new

@@ -58,18 +58,17 @@ description: "Code signing identity to use. e.g. `iPhone Distribution: Luka Mirosevic (0123456789)`"), FastlaneCore::ConfigItem.new(key: :entitlements, env_name: "FL_RESIGN_ENTITLEMENTS", description: "Path to the entitlement file to use, e.g. `myApp/MyApp.entitlements`", conflicting_options: [:use_app_entitlements], - is_string: true, optional: true), FastlaneCore::ConfigItem.new(key: :provisioning_profile, env_name: "FL_RESIGN_PROVISIONING_PROFILE", description: "Path to your provisioning_profile. Optional if you use _sigh_", default_value: Actions.lane_context[SharedValues::SIGH_PROFILE_PATH], default_value_dynamic: true, - is_string: false, + skip_type_validation: true, # allows Hash, Array verify_block: proc do |value| files = case value when Hash then value.values when Enumerable then value else [value] @@ -80,43 +79,37 @@ end), FastlaneCore::ConfigItem.new(key: :version, env_name: "FL_RESIGN_VERSION", description: "Version number to force resigned ipa to use. Updates both `CFBundleShortVersionString` and `CFBundleVersion` values in `Info.plist`. Applies for main app and all nested apps or extensions", conflicting_options: [:short_version, :bundle_version], - is_string: true, optional: true), FastlaneCore::ConfigItem.new(key: :display_name, env_name: "FL_DISPLAY_NAME", description: "Display name to force resigned ipa to use", - is_string: true, optional: true), FastlaneCore::ConfigItem.new(key: :short_version, env_name: "FL_RESIGN_SHORT_VERSION", description: "Short version string to force resigned ipa to use (`CFBundleShortVersionString`)", conflicting_options: [:version], - is_string: true, optional: true), FastlaneCore::ConfigItem.new(key: :bundle_version, env_name: "FL_RESIGN_BUNDLE_VERSION", description: "Bundle version to force resigned ipa to use (`CFBundleVersion`)", conflicting_options: [:version], - is_string: true, optional: true), FastlaneCore::ConfigItem.new(key: :bundle_id, env_name: "FL_RESIGN_BUNDLE_ID", description: "Set new bundle ID during resign (`CFBundleIdentifier`)", - is_string: true, optional: true), FastlaneCore::ConfigItem.new(key: :use_app_entitlements, env_name: "FL_USE_APP_ENTITLEMENTS", description: "Extract app bundle codesigning entitlements and combine with entitlements from new provisioning profile", conflicting_options: [:entitlements], - is_string: false, + type: Boolean, optional: true), FastlaneCore::ConfigItem.new(key: :keychain_path, env_name: "FL_RESIGN_KEYCHAIN_PATH", description: "Provide a path to a keychain file that should be used by `/usr/bin/codesign`", - is_string: true, optional: true) ] end def self.author