Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 0.8.0 not resolved into tag 0.8v #175

Open
qworin opened this issue Jul 22, 2020 · 0 comments
Open

Version 0.8.0 not resolved into tag 0.8v #175

qworin opened this issue Jul 22, 2020 · 0 comments

Comments

@qworin
Copy link

qworin commented Jul 22, 2020

[email protected] 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" }
@qworin qworin changed the title Version 0.8.0 not resolved into tag 0.8 Version 0.8.0 not resolved into tag 0.8v Jul 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant