refactor: update path to xcworkspace

This commit is contained in:
Vlad Suhomlinov 2021-05-13 17:41:44 +03:00
parent 908f69b1f8
commit a132bcd939
1 changed files with 3 additions and 3 deletions

View File

@ -108,7 +108,7 @@ private_lane :buildConfiguration do |options|
installDependencies(options)
run_code_generation_phase_if_needed(options)
run_code_generation_phase_if_needed()
generate_enabled_features_extension_if_needed(options)
if !(options[:uploadToFabric] || options[:uploadToAppStore])
@ -438,9 +438,9 @@ end
# Build phases
def run_code_generation_phase_if_needed(options)
def run_code_generation_phase_if_needed:
code_generation_script_path = File.expand_path "../.githooks/scripts/CodeGen.sh"
workspace_path = File.expand_path options[:workspace]
workspace_path = File.expand_path "../#{appName}.xcworkspace"
if File.exists? code_generation_script_path
sh(code_generation_script_path, workspace_path)