- Xcode version 7.3.1 and i have developer apple id
hi , i have strange problem to work and debug my project
The Error says : onesignal/onesignal.h file not found
i install and update pod without any error or problem through Console ,
i attach some screenshot that show error better
where is the problem ? why i have not onesignal.h file after install it , and how can i fix this ?
please help me i stuck in this for a few weeks
Updated answer: I faced this again at an update from 3.0.7 (or later)
I fixed it with the following steps:
Adding a notification extension as described in the
react-native-onesignal
docs.Remove the old imports and code from
AppDelegate.m
Removed lines:
All the steps are described here:
https://www.npmjs.com/package/react-native-onesignal#add-notification-service-extension
Old answer
For react-native-onesignal versions <= 3.0.7
Run clean build before build.
Sources:
https://github.com/geektimecoil/react-native-onesignal/issues/19 https://github.com/geektimecoil/react-native-onesignal/issues/18
Try to update to onesignal 2.0 with the command
pod repo update
explanation: you need to navigate in to the ios platform directory where the .podfile exists, and then run the commands "pod repo update" and then "pod install"