Method: CBin::Framework#remove_current_version

Defined in:
lib/cocoapods-tj/helpers/framework.rb

#remove_current_versionObject



31
32
33
34
35
36
37
38
39
# File 'lib/cocoapods-tj/helpers/framework.rb', line 31

def remove_current_version
  FileUtils.rm_f(File.join(@fwk_path,@name))
  FileUtils.rm_f(File.join(@fwk_path,"Headers"))
  FileUtils.rm_f(File.join(@fwk_path,"Resources"))

  FileUtils.cp_r("#{@versions_path}/.", @fwk_path)
  FileUtils.remove_dir("#{@fwk_path}/Versions")

end