Skip to content

Commit

Permalink
[ObjC] fix protoc link in !ProtoCompiler.podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
HannahShiSFB committed Jan 3, 2025
1 parent 93a0694 commit f41fd8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/objective-c/!ProtoCompiler.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ Pod::Spec.new do |s|
s.authors = { 'The Protocol Buffers contributors' => '[email protected]' }

repo = 'google/protobuf'
file = "protoc-#{v}-osx-x86_64.zip"
file = "protoc-#{v.delete_prefix("3.")}-osx-universal_binary.zip"
s.source = {
:http => "https://github.com/#{repo}/releases/download/v#{v}/#{file}",
:http => "https://github.com/#{repo}/releases/download/v#{v.delete_prefix("3.")}/#{file}",
# TODO(jcanizales): Add sha1 or sha256
# :sha1 => '??',
}
Expand Down

0 comments on commit f41fd8e

Please sign in to comment.