We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36d3012 commit cbf00d0Copy full SHA for cbf00d0
fastlane/lib/helper/update_helper.rb
@@ -141,6 +141,7 @@ def update_rnbranch_xcodeproj(version)
141
project = Xcodeproj::Project.open 'ios/RNBranch.xcodeproj'
142
project.build_configurations.each do |config|
143
options = config.build_settings['GCC_PREPROCESSOR_DEFINITIONS']
144
+ options ||= []
145
options = options.reject { |o| o =~ /^RNBRANCH_VERSION=/ }
146
options << rnbranch_option
147
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] = options
0 commit comments