lib/cocoapods-binaryhqp/Main.rb in cocoapods-binaryhqp-0.5.3 vs lib/cocoapods-binaryhqp/Main.rb in cocoapods-binaryhqp-0.5.4
- old
+ new
@@ -143,18 +143,20 @@
# install
lockfile = installer_context.lockfile
binary_installer = Pod::Installer.new(prebuild_sandbox, prebuild_podfile, lockfile)
- binary_installer.delete_all_standard_sandbox_pod(standard_sandbox)
+
if binary_installer.have_exact_prebuild_cache? && !update
binary_installer.install_when_cache_hit!
else
binary_installer.update = update
binary_installer.repo_update = repo_update
binary_installer.install!
end
+
+ binary_installer.delete_all_standard_sandbox_pod(standard_sandbox)
# reset the environment
Pod.is_prebuild_stage = false
Pod::Installer.force_disable_integration false