-
Notifications
You must be signed in to change notification settings - Fork 429
'TSBackgroundFetch/TSBackgroundFetch.h' file not found #902
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
|
I've done this several times already. But doesn't help. |
Terminate XCode and restart. |
Restarted Xcode. But build still fails. |
Don't know. Uninstall both plugins and re-install. |
OK. I'll give it a try... |
Nope. Still fails exactly as before. :( |
|
My magic trick for these is It's the full wipe... |
So... I uninstalled the libs again. But now after uninstalling I noticed that this After reinstalling the libs, it's now successfully building. I didn't re-add the But at least it's building now. Can't yet say if it's fully working as now I have some other errors from other libs to sort out on my way of upgrading react-native. But thanks for all the help. |
Yep. Looks like the lib is not only compiling but working as well. All good then. |
To resolve this on react-native 0.61 i had to also manually run |
Ah yes, I missed that. |
I was stuck on this error for two days straight, tried everything that's been told but nothing worked until I realize to check my Xcode version. Turned out, I had Xcode v10. Just make sure before doing any other things, you have Xcode v11.5 and above. Then
|
Always use latest XCode. |
@christocracy I missed this part too. I think the formatting of that doc could be improved slightly so that it's clear on first glance that there are 2 packages to install. Maybe add a line after the first install command (both Yarn and NPM) to the effect of: "Then, install the appropriate version of |
Your Environment
Expected Behavior
Able to build without errors.
Actual Behavior
Build fails with error:
Steps to Reproduce & Context
I was upgrading my app from react-native 0.59.9 to 0.61.4
Followed the steps in https://github.com/transistorsoft/react-native-background-geolocation/blob/master/help/INSTALL-IOS-AUTO.md
Although I'm confused about the addition of
RNBackgroundFetch+AppDelegate.m
file. When I looked into adding it, I discovered that the file was already there. I removed and re-added it, but the error remained the same.Found some other issues with the same title, tried to follow the devide suggested there:
pod install
in/ios
dir.but no success. I've also checked that:
yarn add react-native-background-geolocation
andyarn add react-native-background-fetch
react-native run-ios
) or through Xcode.Debug logs
I suspect logs will only matter after I get the app running? Or would you like to see the full log of a build?
The text was updated successfully, but these errors were encountered: