lib/cocoapods-ppbuild/Prebuild.rb in cocoapods-ppbuild-1.0.0 vs lib/cocoapods-ppbuild/Prebuild.rb in cocoapods-ppbuild-1.0.1
- old
+ new
@@ -118,9 +118,10 @@
UI.puts "Prebuilding #{target.label}"
next
end
output_path = sandbox.framework_folder_path_for_target_name(target.name)
+ output_path.rmtree if output_path.exist?
output_path.mkpath unless output_path.exist?
Pod::Prebuild.build(sandbox_path, target, output_path, bitcode_enabled, Podfile::DSL.custom_build_options, Podfile::DSL.custom_build_options_simulator)
# save the resource paths for later installing,动态库需要将frameworkwork中资源链接到pod上
if target.static_framework? and !target.resource_paths.empty?
\ No newline at end of file