Version 0.8.0 not resolved into tag 0.8v
qworin opened this issue · 0 comments
qworin commented
rn-apple-healthkit@0.8.0 goes with this podspec:
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
Pod::Spec.new do |s|
s.name = "RCTAppleHealthKit"
s.version = package["version"]
...
s.source = { :git => "https://github.com/terrillo/rn-apple-healthkit.git", :tag => "#{s.version}" }
However there is no tag 0.8.0, only 0.8v one. So pods installed with error:
[!] Error installing RCTAppleHealthKit
[!] /usr/bin/git clone https://github.com/terrillo/rn-apple-healthkit.git /var/folders/k9/xt580y1x3nn8mxl20jjsxn1m0000gn/T/d20200722-35144-po5dcn --template= --single-branch --depth 1 --branch 0.8.0
Cloning into '/var/folders/k9/xt580y1x3nn8mxl20jjsxn1m0000gn/T/d20200722-35144-po5dcn'...
warning: Could not find remote branch 0.8.0 to clone.
fatal: Remote branch 0.8.0 not found in upstream origin
Temporary solution: edit podspec file in node_modules and point out tag directly:
s.source = { :git => "https://github.com/terrillo/rn-apple-healthkit.git", :tag => "0.8v" }