Open linkrjr opened 9 years ago
I am trying to duplicate my release settings and then set specific values for each configuration but it does not seem to work.
I have this duplicate_configurations({:staging => :release})
and right after I have
set_build_settings({ :'BUNDLE_ID_SUFFIX' => '.staging', :'BUNDLE_DISPLAY_NAME_SUFFIX' => 'staging', :'KZBEnv' => 'STAGING' }, configuration: :staging)
set_build_settings({ :'BUNDLE_ID_SUFFIX' => '', :'BUNDLE_DISPLAY_NAME_SUFFIX' => '', :'KZBEnv' => 'PRODUCTION' }, configuration: :release)
I end up with Release being set to Staging values
If I invert the values like
duplicate_configurations({:release => :staging})
Then Staging is not created
I am trying to duplicate my release settings and then set specific values for each configuration but it does not seem to work.
I have this duplicate_configurations({:staging => :release})
and right after I have
set_build_settings({ :'BUNDLE_ID_SUFFIX' => '.staging', :'BUNDLE_DISPLAY_NAME_SUFFIX' => 'staging', :'KZBEnv' => 'STAGING' }, configuration: :staging)
set_build_settings({ :'BUNDLE_ID_SUFFIX' => '', :'BUNDLE_DISPLAY_NAME_SUFFIX' => '', :'KZBEnv' => 'PRODUCTION' }, configuration: :release)
I end up with Release being set to Staging values
If I invert the values like
duplicate_configurations({:release => :staging})
Then Staging is not created