Class: Xcodeproj::Project

Inherits:
Object
  • Object
show all
Defined in:
lib/pod_builder/install.rb

Overview

CocoaPods seems to hard code the development language to english By monkey patching the project save we make sure that the to manually rewrite the development language if it has been manually specified in PodBuilder’s configuration

Instance Method Summary collapse

Instance Method Details

#save(save_path = nil) ⇒ Object



438
439
440
441
442
443
444
# File 'lib/pod_builder/install.rb', line 438

def save(save_path = nil)
  if development_language = PodBuilder::Configuration.development_language
    root_object.development_region = development_language
  end

  swz_save(save_path)
end

#swz_saveObject



436
# File 'lib/pod_builder/install.rb', line 436

alias_method :swz_save, :save