Could not find remote branch v3.5.2 to clone
Closed this issue · 1 comments
alexesDev commented
Hi. Today I try to install react-native-mixpanel and got this error:
Installing Mixpanel (3.5.2)
[!] Error installing Mixpanel
[!] /usr/local/bin/git clone https://github.com/mixpanel/mixpanel-iphone.git /var/folders/fy/ss9wt4s94tq8zy9yyc6bsrvw0000gn/T/d20200214-76106-1g2fgnb --template= --single-branch --depth 1 --branch v3.5.2
Cloning into '/var/folders/fy/ss9wt4s94tq8zy9yyc6bsrvw0000gn/T/d20200214-76106-1g2fgnb'...
warning: Could not find remote branch v3.5.2 to clone.
fatal: Remote branch v3.5.2 not found in upstream origin
alexesDev commented
I added pod 'Mixpanel', '3.5.1'
to Podfile and it worked.