lib/gym/options.rb in gym-1.11.3 vs lib/gym/options.rb in gym-1.12.0
- old
+ new
@@ -121,10 +121,18 @@
optional: true,
conflicting_options: [:use_legacy_build_api],
conflict_block: proc do |value|
UI.user_error!("'#{value.key}' must be false to use 'export_options'")
end),
+ FastlaneCore::ConfigItem.new(key: :export_xcargs,
+ env_name: "GYM_EXPORT_XCARGS",
+ description: "Pass additional arguments to xcodebuild for the package phase. Be sure to quote the setting names and values e.g. OTHER_LDFLAGS=\"-ObjC -lstdc++\"",
+ optional: true,
+ conflicting_options: [:use_legacy_build_api],
+ conflict_block: proc do |value|
+ UI.user_error!("'#{value.key}' must be false to use 'export_xcargs'")
+ end),
FastlaneCore::ConfigItem.new(key: :skip_build_archive,
env_name: "GYM_SKIP_BUILD_ARCHIVE",
description: "Export ipa from previously build xarchive. Uses archive_path as source",
is_string: false,
optional: true),
@@ -184,10 +192,10 @@
description: "Optional: Sometimes you need to specify a team id when exporting the ipa file",
optional: true),
FastlaneCore::ConfigItem.new(key: :xcargs,
short_option: "-x",
env_name: "GYM_XCARGS",
- description: "Pass additional arguments to xcodebuild. Be sure to quote the setting names and values e.g. OTHER_LDFLAGS=\"-ObjC -lstdc++\"",
+ description: "Pass additional arguments to xcodebuild for the build phase. Be sure to quote the setting names and values e.g. OTHER_LDFLAGS=\"-ObjC -lstdc++\"",
optional: true),
FastlaneCore::ConfigItem.new(key: :xcconfig,
short_option: "-y",
env_name: "GYM_XCCONFIG",
description: "Use an extra XCCONFIG file to build your app",