fastlane/lib/fastlane/actions/update_project_provisioning.rb in fastlane-2.39.0.beta.20170613010056 vs fastlane/lib/fastlane/actions/update_project_provisioning.rb in fastlane-2.39.0.beta.20170614010012
- old
+ new
@@ -45,13 +45,13 @@
UI.success("Going to update project '#{folder}' with UUID")
require 'xcodeproj'
project = Xcodeproj::Project.open(folder)
project.targets.each do |target|
- if !target_filter || target.product_name.match(target_filter) || (target.respond_to?(:product_type) && target.product_type.match(target_filter))
- UI.success("Updating target #{target.product_name}...")
+ if !target_filter || target.name.match(target_filter) || (target.respond_to?(:product_type) && target.product_type.match(target_filter))
+ UI.success("Updating target #{target.name}...")
else
- UI.important("Skipping target #{target.product_name} as it doesn't match the filter '#{target_filter}'")
+ UI.important("Skipping target #{target.name} as it doesn't match the filter '#{target_filter}'")
next
end
target.build_configuration_list.build_configurations.each do |build_configuration|
config_name = build_configuration.name