-
Notifications
You must be signed in to change notification settings - Fork 215
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
[question]: Lexical or Preprocessor Issue (Xcode): 'OneSignal/OneSignal.h' file not found #675
Comments
@rensamatar Thank you for reaching out do you mind posting your podfile? |
Here is my Podfile @emawby |
@rensamatar You mentioned it working in Xcode but not VSCode, I wonder if your xcodebuild tools version is different than your Xcode version? E.g. it is using Xcode 13 build tools for command line (vscode) builds. If you do flutter run via a CLI does it work? |
|
Could not build the application for the simulator. same issue.. |
I'm having the same issue. Been stuck on this for days now. My Podfile:
|
I got the same error and when I checked out the documentation, it seems like there's a minor change to the After I amended the changes, it worked fine. Maybe OneSignal needs to update the migration guide. |
Hi @akifarhan I updated the pubspec.yaml to
and run Also update the NotificationService.m with but error still exist. |
i have the same issue any solution for this problem? |
Still facing the issue. What i have already tried:
|
I have the same problem and have not found a solution |
Hi @rensamatar @emawby @filippodicostanzo @abdullah017 @akifarhan Guys its quite urgent for me to release my app can any one of you fix the issue and let us know it will help us to close this problem Thanks in advance really waiting for your reply ASAP |
Can we have update on this issue pls |
Hello Is there any news on this issue, it quite urgent for me to manage in my project |
Hi everyone, please try If |
Hi @nan-li When we use 5.2.3 & #import <OneSignalExtension/OneSignalExtension.h> |
For anyone still having this issue, make sure to update the podfile as shown in the guide at this section https://documentation.onesignal.com/docs/flutter-sdk-setup#add-onesignal-sdk-to-the-onesignalnotificationserviceextension
then do a |
Appreciate the discussion here! It looks like the conversation has wound down so we'll close this issue. If there are still any additional concerns, please let us know. |
How can we help?
How do I solve the issue for missing file.
flutter clean
doesn't helprm -rf Podfile.lock Pods && pod install --repo-update
doesn't helpEnv:
Framework • revision 5464c5bac7 (1 year ago) • 2022-04-18 09:55:37 -0700
Engine • revision 57d3bac3dd
Tools • Dart 2.16.2 • DevTools 2.9.2
Code of Conduct
The text was updated successfully, but these errors were encountered: