Method: TYCiCore::TemplateProject#run

Defined in:
lib/tuya/ci/core/template/template_project.rb

#runObject



17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# File 'lib/tuya/ci/core/template/template_project.rb', line 17

def run
  @string_replacements = {
   "PROJECT_OWNER" => @configurator.owner_email,
    "PROJECT" => @configurator.pod_name,
    "CPD" => @configurator.prefix
  }

  replace_internal_project_settings

  @project = Xcodeproj::Project.open(@xcodeproj_path)
  @project.save

  rename_files
  rename_project_folder
end