Skip to content

Commit 006361b

Browse files
authored
fix: Fix podspec to be compliant with latest Cocoapods (#191)
1 parent 11d2666 commit 006361b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
],
3030
"repository": {
3131
"type": "git",
32-
"url": "https://github.com/tradle/react-native-udp"
32+
"url": "https://github.com/tradle/react-native-udp.git"
3333
},
3434
"keywords": [
3535
"react-native",

react-native-udp.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Pod::Spec.new do |s|
1010
s.license = package_json["license"]
1111
s.author = { package_json["author"] => package_json["author"] }
1212
s.platform = :ios, "7.0"
13-
s.source = { :git => package_json["repository"]["url"].gsub(/(http.*)/).first, :tag => "v#{s.version}" }
13+
s.source = { :git => package_json["repository"]["url"], :tag => "v#{s.version}" }
1414
s.source_files = 'ios/**/*.{h,m}'
1515
s.dependency 'React-Core'
1616
s.dependency 'CocoaAsyncSocket'

0 commit comments

Comments
 (0)