Skip to content

Commit cbf00d0

Browse files
committed
take five
1 parent 36d3012 commit cbf00d0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fastlane/lib/helper/update_helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ def update_rnbranch_xcodeproj(version)
141141
project = Xcodeproj::Project.open 'ios/RNBranch.xcodeproj'
142142
project.build_configurations.each do |config|
143143
options = config.build_settings['GCC_PREPROCESSOR_DEFINITIONS']
144+
options ||= []
144145
options = options.reject { |o| o =~ /^RNBRANCH_VERSION=/ }
145146
options << rnbranch_option
146147
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] = options

0 commit comments

Comments
 (0)