You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pod install fails because it tries to install from a branch called "2.3.0" (version name), which does not exist.
Reproduction
We are using monorepo setup which gives us some trouble with React Native auto-linking, and therefore we manually add an entry for the podspec in our Podfile like so:
pod 'A0Auth0', :podspec => modules_path + '/react-native-auth0/ios'
When running pod install, it fails with the following message:
[!] Error installing A0Auth0
[!] /usr/local/bin/git clone https://github.com/auth0/react-native-auth0.git /var/folders/sm/vzqhm2g13xq_jwlc96qrgty56lgyy2/T/d20200414-71770-1deqwc7 --template= --single-branch --depth 1 --branch 2.3.0
Cloning into '/var/folders/sm/vzqhm2g13xq_jwlc96qrgty56lgyy2/T/d20200414-71770-1deqwc7'...
warning: Could not find remote branch 2.3.0 to clone.
fatal: Remote branch 2.3.0 not found in upstream origin
Resolution
I checked out the podspec (node_modules/react-native-auth0/ios/A0Auth0.podspec) and saw that there is a v missing, which makes CocoaPods install from a branch instead of the tag version. It works when I add the v.
Widcket
added
bug
This points to a verified bug in the code
and removed
needs investigation
An issue that has more questions to answer or otherwise needs work to fully understand the issue
labels
Apr 29, 2020
Description
pod install
fails because it tries to install from a branch called "2.3.0" (version name), which does not exist.Reproduction
We are using monorepo setup which gives us some trouble with React Native auto-linking, and therefore we manually add an entry for the podspec in our Podfile like so:
When running
pod install
, it fails with the following message:Resolution
I checked out the podspec (
node_modules/react-native-auth0/ios/A0Auth0.podspec
) and saw that there is av
missing, which makes CocoaPods install from a branch instead of the tag version. It works when I add thev
.The v was removed in this refactor commit: 18826cd. I don't know if it was intentional or not?
Environment
The text was updated successfully, but these errors were encountered: