Skip to content

[question]: Lexical or Preprocessor Issue (Xcode): 'OneSignal/OneSignal.h' file not found  #675

@rensamatar

Description

@rensamatar

How can we help?

How do I solve the issue for missing file.

  • I can run the project via Xcode but can't run the project via VS code
  • Same code but using Mac intel chip works on VS code.
  • flutter clean doesn't help
  • deleted pub cache doesn't help
  • rm -rf Podfile.lock Pods && pod install --repo-update doesn't help

Env:

  • Xcode Version 14.2 (14C18)
  • Flutter 2.10.5 • channel stable • https://github.com/flutter/flutter.git
    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
  • ruby 3.2.2 (2023-03-30 revision e51014f9c0) [arm64-darwin21]
  • Macbook pro M1
  • Cocoapods 1.12.1

Screen Shot 2566-04-21 at 13 45 01

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions