lib/cocoapods-binaryhqp/Prebuild.rb in cocoapods-binaryhqp-0.5.3 vs lib/cocoapods-binaryhqp/Prebuild.rb in cocoapods-binaryhqp-0.5.4

- old
+ new

@@ -145,12 +145,15 @@ # just print log self.sandbox.exsited_framework_target_names.each do |name| UI.puts "Using #{name}" if config.verbose end + self.sandbox + #处理静态库resources 资源文件 self.resolve_dependencies - #处理资源文件 + self.download_dependencies + self.handle_static_framework_resouces end def delete_standard_sand_box_pod(standard_sanbox) @@ -338,9 +341,10 @@ to_remain_files = ["Manifest.lock", File.basename(existed_framework_folder)] to_delete_files = sandbox_path.children.select do |file| filename = File.basename(file) not to_remain_files.include?(filename) end + to_delete_files.each do |path| path.rmtree if path.exist? end else # just remove the tmp files \ No newline at end of file