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



422
423
424
425
426
427
428
# File 'lib/pod_builder/install.rb', line 422

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



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

alias_method :swz_save, :save