Closed
Description
Current behavior
pod install
causes an error (at least when installing AsyncStorage manually): Could not find remote branch 1.2.1 to clone
.
Expected behavior
No error occurs.
Repro steps
- Create new empty RN project with iOS project based on Cocoapods
- Add
"@react-native-community/async-storage": "^1.2.1"
to package.json dependencies npm install
- Add
pod 'react-native-async-storage', :podspec => '../node_modules/@react-native-community/async-storage'
to Podfile pod install
Environment
- Async Storage version: 1.2.1
- React-Native version: 0.59.1
- Platform tested: iOS (the issue is not applicable to Android)
- Logs/Error that are relevant:
[!] Error installing react-native-async-storage
[!] /usr/bin/git clone https://github.com/react-native-community/react-native-async-storage.git /var/folders/... --template= --single-branch --depth 1 --branch 1.2.1
Cloning into '/var/folders/...'...
warning: Could not find remote branch 1.2.1 to clone.