Skip to content
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]: OneSignal.h file not found #1307

Closed
1 task done
jward8 opened this issue Aug 16, 2023 · 2 comments
Closed
1 task done

[question]: OneSignal.h file not found #1307

jward8 opened this issue Aug 16, 2023 · 2 comments

Comments

@jward8
Copy link

jward8 commented Aug 16, 2023

How can we help?

It seems like this is an issue that people have been having for a very long time and never gets an actual resolution. So I wanted to ask it here again.

I'm running into an issue in the NotificationService of the app I'm working on. Every time I try to build the app or archive I run into this issue.
image

I'm unsure as to why this is happening now as of two days ago it was working perfectly fine. We were changing the team around under the project signing for both our project and the OneSignalNotificationServiceExtension. Once we got that to the correct team and everything, this started happening, but only happens to me, not anyone else.

What I've done to try to fix this includes deleting xcode, deleting the repository, googling and looking at different answers, but nothing works. So I propose the question again, how do i fix this?

EDIT: This is what the podfile looks like

target <project> do
...
    pod 'OneSignal', '>= 3.0.0', '< 4.0'
...
target 'OneSignalNotificationServiceExtension' do
    pod 'OneSignal', '>= 3.0.0', '< 4.0'
end

Code of Conduct

  • I agree to follow this project's Code of Conduct
@pettomartino
Copy link

Same here. Was working fine then suddenly broke.
@jward8 did you find any solution ?

@jward8
Copy link
Author

jward8 commented Sep 1, 2023

Same here. Was working fine then suddenly broke.

@jward8 did you find any solution ?

It ended up being that I was using the wrong Xcode project file (i.e. was XcodeProject vs XcodeWorkspace). I don't remember what I was using, but once I switched to the other, the issue was resolved. So try that? @pettomartino

@emawby emawby closed this as completed Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants