react-native-background-fetch
react-native-background-fetch copied to clipboard
[Bug]: 'AppDelegate.h' file not found
Required Reading
- [x] Confirmed
Plugin Version
4.2.7
Mobile operating-system(s)
- [x] iOS
- [ ] Android
Device Manufacturer(s) and Model(s)
iphone 16 simulator
Device operating-systems(s)
ios 18.3.1
React Native / Expo version
0.78.0
What happened?
Build failed due to 'AppDelegate.h' file not found error. AppDelegate.h is removed in react native v0.78.0. Please provide a solution for this
Plugin Code and/or Config
I'm using this package as a dependency for 'react-native-background-actions'. So I don't have a config file.
Relevant log output
Just remove the file RNBackgroundFetch+AppDelegate.m from your project.
- Right click file
- Click [Delete] (Remove references)
That file is no longer required (and hasn't been for several years). It is merely for the deprecated pre iOS 13 API, as noted in the Setup Instructions
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.