davide-scalzo / react-native-mixpanel

A React Native wrapper for Mixpanel tracking
MIT License
455 stars 195 forks source link

Could not find remote branch v3.5.2 to clone #220

Closed alexesDev closed 4 years ago

alexesDev commented 4 years ago

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 4 years ago

I added pod 'Mixpanel', '3.5.1' to Podfile and it worked.