clang: error: no such file or directory: '/Users/harshagoli/Projects/Hail-react-native/ios/node_modules/react-native-background-fetch/ios/RNBackgroundFetch/RNBackgroundFetch+AppDelegate.m' clang: error: no input files
Hey guys,
Set up react-native-background-task and following all the instructions but running into some weird errors for iOS with Xcode 9
clang: error: no such file or directory: '/Users/harshagoli/Projects/Hail-react-native/ios/node_modules/react-native-background-fetch/ios/RNBackgroundFetch/RNBackgroundFetch+AppDelegate.m' clang: error: no input files
Any thoughts on how to fix this?
Interesting that it's looking for node_modules within ios/
Should that be there?
Creating a symlink seemed to fix it but I hate myself for doing this. Someone let me know if there's a better way to deal with this. Do this from your project root directory
ln -s $(pwd)/node_modules/ $(pwd)/ios/node_modules