react-native-background-fetch: Error: Cannot read property 'buildConfigurationList' of undefined
Your Environment
- Plugin version: 2.0.X
- Platform: iOS
- OS version: Iphone 6
- Device manufacturer / model: Apple
- React Native version (
react-native -v
): 0.55.4 - Plugin config
Expected Behavior
Linking should work
Cannot read property ‘buildConfigurationList’ of undefined
Actual Behavior
Steps to Reproduce
When i run react-native link
Context
Linking Library
Debug logs
rnpm-install info Linking react-native-background-fetch ios dependency rnpm-install ERR! Something went wrong while linking. Error: Cannot read property ‘buildConfigurationList’ of undefined Please file an issue here: https://github.com/facebook/react-native/issues
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 18 (7 by maintainers)
what fixed this for me was installing specifically at version 2.4.2–
yarn add react-native-background-fetch@2.4.2
Installing with yarn worked for me
yarn add react-native-background-fetch
and thenreact-native link react-native-background-fetch
Seriously, nothing? There’s plenty
The Android implementation of background-fetch didn’t arrive until version 2.3.0. If you had a version
< 2.3.0
, there was no android folder.I’v tried in two different Windows PCs and both of them failed with the automatic setup. Same error both times.