Skip to content

Commit

Permalink
bugfix: .download not exist and bundle exec pod install failed
Browse files Browse the repository at this point in the history
  • Loading branch information
wangzhizhou committed Dec 3, 2024
1 parent df80e98 commit 0f2fa5a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/cocoapods-spm/helpers/io.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ def self.symlink(src, dst)

src = Pathname.new(src) unless src.is_a?(Pathname)
dst = Pathname.new(dst) unless dst.is_a?(Pathname)
dst.dirname.mkpath unless dst.dirname.exist?
dst.delete if dst.exist?
File.symlink(src.absolute? ? src : src.realpath, dst)
end
Expand Down

0 comments on commit 0f2fa5a

Please sign in to comment.