Skip to content

Commit

Permalink
Update increment_build_number_in_xcodeproj.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
jdouglas-nz authored Jun 25, 2022
1 parent ec07ec3 commit d68bb7e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ def self.set_build_number_using_target(params, next_build_number)
config.build_settings["CURRENT_PROJECT_VERSION"] = next_build_number
else
target.build_configurations.each do |config|
UI.message "updating #{config.name} to build #{next_build_number}"
config.build_settings["CURRENT_PROJECT_VERSION"] = next_build_number
end unless target.nil?
UI.message "updating #{config.name} to build #{next_build_number}"
config.build_settings["CURRENT_PROJECT_VERSION"] = next_build_number
end unless target.nil?
end

project.save
Expand Down

0 comments on commit d68bb7e

Please sign in to comment.