Skip to content

Commit 4c7b211

Browse files
mdstroebelandpor
authored andcommitted
fix: fixed the source field (#396)
The `source` field was causing errors when attempting to link the library via CocoaPods in iOS. It was unable to resolve the source since the tagging strategy seems to have changed to not include the "v" in the tag name and also, the URL needed to have the "git+" removed from it. I did not want to update the `package.json` file as well, so I just added in the source URL into the podspec directly.
1 parent 3893c0c commit 4c7b211

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

react-native-sqlite-storage.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Pod::Spec.new do |s|
99
s.homepage = "https://github.com/andpor/react-native-sqlite-storage"
1010
s.license = package['license']
1111
s.author = package['author']
12-
s.source = { :git => package['repository']['url'], :tag => "v#{s.version}" }
12+
s.source = { :git => "https://github.com/andpor/react-native-sqlite-storage.git", :tag => "#{s.version}" }
1313

1414
s.ios.deployment_target = '8.0'
1515
s.osx.deployment_target = '10.10'

0 commit comments

Comments
 (0)