Skip to content

Commit

Permalink
fix: Fix podspec to be compliant with latest Cocoapods (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
fnando authored Sep 8, 2021
1 parent 11d2666 commit 006361b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
],
"repository": {
"type": "git",
"url": "https://github.com/tradle/react-native-udp"
"url": "https://github.com/tradle/react-native-udp.git"
},
"keywords": [
"react-native",
Expand Down
2 changes: 1 addition & 1 deletion react-native-udp.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Pod::Spec.new do |s|
s.license = package_json["license"]
s.author = { package_json["author"] => package_json["author"] }
s.platform = :ios, "7.0"
s.source = { :git => package_json["repository"]["url"].gsub(/(http.*)/).first, :tag => "v#{s.version}" }
s.source = { :git => package_json["repository"]["url"], :tag => "v#{s.version}" }
s.source_files = 'ios/**/*.{h,m}'
s.dependency 'React-Core'
s.dependency 'CocoaAsyncSocket'
Expand Down

0 comments on commit 006361b

Please sign in to comment.