Skip to content

Commit 2d706ad

Browse files
authored
fix: Add git tag to CocoaPods source property (DylanVann#601)
This change will make the CocoaPods version which is installed match the NodeJS version used. Currently, CocoaPods will install the latest version on head which could not match the JavaScript version of the library. Changes: 1. Use the version tag to match the version installed by CocoaPods to that coming the from the `package.json` file.
1 parent c345b6a commit 2d706ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

RNFastImage.podspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ Pod::Spec.new do |s|
1212
s.platforms = { :ios => "8.0", :tvos => "9.0" }
1313
s.framework = 'UIKit'
1414
s.requires_arc = true
15-
s.source = { :git => "https://github.com/DylanVann/react-native-fast-image.git" }
15+
s.source = { :git => "https://github.com/DylanVann/react-native-fast-image.git", :tag => "v#{s.version} }
1616
s.source_files = "ios/**/*.{h,m}"
1717

1818
s.dependency 'React'
1919
s.dependency 'SDWebImage', '~> 5.0'
2020
s.dependency 'SDWebImageWebPCoder', '~> 0.2.3'
21-
end
21+
end

0 commit comments

Comments
 (0)