`react-native link react-native-background-fetch` error
See original GitHub issueYour Environment
- Plugin version:
3.0.4
- Platform:
iOS
- OS version:
macOS 10.14.4
- Device manufacturer / model:
MacBook Pro (15-inch, 2018)
- React Native version (
react-native -v
):react-native: 0.58.5
react-native-cli: 2.0.1
Expected Behavior
Successfully linked dependency without the error message.
Actual Behavior
Received the error below, and the message asking me to post an issue. The app builds and runs just fine, though I’m not using the background fetch.
Steps to Reproduce
npm install git+https://git@github.com:transistorsoft/react-native-background-geolocation-android.git --save
react-native link react-native-background-geolocation-android
react-native link react-native-background-fetch
Context
Just updating react-native-background-geolocation-android from 3.0.1 to 3.0.4
Debug logs
> react-native link react-native-background-fetch
rnpm-install info Linking react-native-background-fetch ios dependency
rnpm-install info Platform 'ios' module react-native-background-fetch has been successfully linked
rnpm-install info Linking react-native-background-fetch android dependency
rnpm-install info Platform 'android' module react-native-background-fetch has been successfully linked
{ '00C302A81ABCB8CE00DB3ED1':
{ isa: 'PBXGroup',
children: [ [Object] ],
name: 'Products',
sourceTree: '"<group>"' },
'00C302A81ABCB8CE00DB3ED1_comment': 'Products',
'00C302B61ABCB90400DB3ED1':
{ isa: 'PBXGroup',
children: [ [Object] ],
name: 'Products',
sourceTree: '"<group>"' },
'00C302B61ABCB90400DB3ED1_comment': 'Products',
'00C302BC1ABCB91800DB3ED1':
{ isa: 'PBXGroup',
children: [ [Object], [Object] ],
name: 'Products',
sourceTree: '"<group>"' },
'00C302BC1ABCB91800DB3ED1_comment': 'Products',
'00C302E01ABCB9EE00DB3ED1':
{ isa: 'PBXGroup',
children: [ [Object] ],
name: 'Products',
sourceTree: '"<group>"' },
'00C302E01ABCB9EE00DB3ED1_comment': 'Products',
'00E356EF1AD99517003FC87E':
{ isa: 'PBXGroup',
children: [ [Object], [Object] ],
path: 'TransfixTests',
sourceTree: '"<group>"' },
'00E356EF1AD99517003FC87E_comment': 'TransfixTests',
'00E356F01AD99517003FC87E':
{ isa: 'PBXGroup',
children: [ [Object] ],
name: '"Supporting Files"',
sourceTree: '"<group>"' },
'00E356F01AD99517003FC87E_comment': 'Supporting Files',
'139105B71AF99BAD00B5F7CC':
{ isa: 'PBXGroup',
children: [ [Object], [Object] ],
name: 'Products',
sourceTree: '"<group>"' },
'139105B71AF99BAD00B5F7CC_comment': 'Products',
'139FDEE71B06529A00C62182':
{ isa: 'PBXGroup',
children: [ [Object], [Object], [Object], [Object] ],
name: 'Products',
sourceTree: '"<group>"' },
'139FDEE71B06529A00C62182_comment': 'Products',
'13B07FAE1A68108700A75B9A':
{ isa: 'PBXGroup',
children:
[ [Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object] ],
name: 'Transfix',
sourceTree: '"<group>"' },
'13B07FAE1A68108700A75B9A_comment': 'Transfix',
'146834001AC3E56700842450':
{ isa: 'PBXGroup',
children:
[ [Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object] ],
name: 'Products',
sourceTree: '"<group>"' },
'146834001AC3E56700842450_comment': 'Products',
'2014B158226A3FC9006DB4C9':
{ isa: 'PBXGroup',
children: [ [Object], [Object] ],
name: 'Products',
sourceTree: '"<group>"' },
'2014B158226A3FC9006DB4C9_comment': 'Products',
'20240793225E942700894BEF':
{ isa: 'PBXGroup',
children: [ [Object] ],
name: 'Products',
sourceTree: '"<group>"' },
'20240793225E942700894BEF_comment': 'Products',
'202E1D952271071300DED11D':
{ isa: 'PBXGroup',
children: [ [Object], [Object] ],
name: 'Products',
sourceTree: '"<group>"' },
'202E1D952271071300DED11D_comment': 'Products',
'204C7F7D2267889900F4D0BA':
{ isa: 'PBXGroup',
children: [ [Object], [Object] ],
name: 'Products',
sourceTree: '"<group>"' },
'204C7F7D2267889900F4D0BA_comment': 'Products',
'204C80F82267988000F4D0BA':
{ isa: 'PBXGroup',
children: [ [Object], [Object] ],
name: 'Products',
sourceTree: '"<group>"' },
'204C80F82267988000F4D0BA_comment': 'Products',
'205483CD220CEE9300A3CAB5':
{ isa: 'PBXGroup',
children:
[ [Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object] ],
name: '"Recovered References"',
sourceTree: '"<group>"' },
'205483CD220CEE9300A3CAB5_comment': 'Recovered References',
'205BD751221DCF6900FE67CF':
{ isa: 'PBXGroup',
children: [ [Object] ],
name: 'Plugins',
sourceTree: '"<group>"' },
'205BD751221DCF6900FE67CF_comment': 'Plugins',
'206C72E8224D375F00DCA1D7':
{ isa: 'PBXGroup',
children: [ [Object] ],
name: 'Products',
sourceTree: '"<group>"' },
'206C72E8224D375F00DCA1D7_comment': 'Products',
'20B0FC6A22650FEB0052DA3C':
{ isa: 'PBXGroup',
children: [ [Object], [Object] ],
name: 'Products',
sourceTree: '"<group>"' },
'20B0FC6A22650FEB0052DA3C_comment': 'Products',
'20D9632222245AA60010C40F':
{ isa: 'PBXGroup',
children: [ [Object], [Object] ],
name: 'Products',
sourceTree: '"<group>"' },
'20D9632222245AA60010C40F_comment': 'Products',
'20EE40D822721EC50000DE4A':
{ isa: 'PBXGroup',
children: [ [Object], [Object] ],
name: 'Products',
sourceTree: '"<group>"' },
'20EE40D822721EC50000DE4A_comment': 'Products',
'2D16E6871FA4F8E400B85C8A':
{ isa: 'PBXGroup',
children:
[ [Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object] ],
name: 'Frameworks',
sourceTree: '"<group>"' },
'2D16E6871FA4F8E400B85C8A_comment': 'Frameworks',
'556E906922285700006020A2':
{ isa: 'PBXGroup',
children: [ [Object] ],
name: 'Products',
sourceTree: '"<group>"' },
'556E906922285700006020A2_comment': 'Products',
'556E909D22285700006020A2':
{ isa: 'PBXGroup',
children: [ [Object] ],
name: 'Products',
sourceTree: '"<group>"' },
'556E909D22285700006020A2_comment': 'Products',
'5A96AB75A5D3C1512BFA0182':
{ isa: 'PBXGroup',
children: [ [Object], [Object], [Object], [Object], [Object], [Object] ],
name: 'Pods',
sourceTree: '"<group>"' },
'5A96AB75A5D3C1512BFA0182_comment': 'Pods',
'5E91572E1DD0AC6500FF2AA8':
{ isa: 'PBXGroup',
children: [ [Object], [Object] ],
name: 'Products',
sourceTree: '"<group>"' },
'5E91572E1DD0AC6500FF2AA8_comment': 'Products',
'71FE466584E94600AFD3244F':
{ isa: 'PBXGroup',
children: [ [Object], [Object], [Object], [Object], [Object] ],
name: 'Resources',
sourceTree: '"<group>"' },
'71FE466584E94600AFD3244F_comment': 'Resources',
'78C398B11ACF4ADC00677621':
{ isa: 'PBXGroup',
children: [ [Object], [Object] ],
name: 'Products',
sourceTree: '"<group>"' },
'78C398B11ACF4ADC00677621_comment': 'Products',
'832341AE1AAA6A7D00B99B32':
{ isa: 'PBXGroup',
children:
[ [Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object] ],
name: 'Libraries',
sourceTree: '"<group>"' },
'832341AE1AAA6A7D00B99B32_comment': 'Libraries',
'832341B11AAA6A8300B99B32':
{ isa: 'PBXGroup',
children: [ [Object], [Object] ],
name: 'Products',
sourceTree: '"<group>"' },
'832341B11AAA6A8300B99B32_comment': 'Products',
'83CBB9F61A601CBA00E9B192':
{ isa: 'PBXGroup',
children:
[ [Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object] ],
indentWidth: 2,
sourceTree: '"<group>"',
tabWidth: 2,
usesTabs: 0 },
'83CBBA001A601CBA00E9B192':
{ isa: 'PBXGroup',
children: [ [Object], [Object] ],
name: 'Products',
sourceTree: '"<group>"' },
'83CBBA001A601CBA00E9B192_comment': 'Products',
ADBDB9201DFEBF0600ED6528:
{ isa: 'PBXGroup',
children: [ [Object], [Object] ],
name: 'Products',
sourceTree: '"<group>"' },
ADBDB9201DFEBF0600ED6528_comment: 'Products' }
[react-native-background-fetch] LINK ERROR: Failed to find projectGroup PBXGroup: transfix
[react-native-background-fetch] Failed to add RNBackgroundFetch+AppDelegate.m. See Manual Setup instructions to add this file to your project.
[react-native-bacgkround-fetch] Please post an issue at Github, including all the output above
rnpm-install info Linking assets to ios project
rnpm-install info Linking assets to android project
rnpm-install info Assets have been successfully linked to your project
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (7 by maintainers)
Top Results From Across the Web
react-native-background-fetch - npm
Background Fetch is a very simple plugin which attempts to awaken an app in the background about every 15 minutes, providing a short...
Read more >How to use the react-native-background-fetch.configure ... - Snyk
To help you get started, we've selected a few react-native-background-fetch.configure examples, based on popular ways it is used in public projects.
Read more >react-native-background-fetch | Yarn - Package Manager
Background Fetch is a very simple plugin which attempts to awaken an app in the background about every 15 minutes, providing a short...
Read more >[react native][ios][react-native-background-fetch] dont't work on ...
Simulate Background Fetch works. I noticed also that Background Fetch triggers once on the first application start, but not anymore. On Android ...
Read more >Troubleshooting - React Native
When you're debugging a process or need to know a little more about the error being thrown, you may want to use the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Luckygirlllll Expo is a pain. Simply follow this manual step to complete the installation.
With
react-native >= 0.60
(Expo will arrive there some day…), there is no morereact-native link
. This is the new way to configure the plugin, by manually adding that file.