-
Notifications
You must be signed in to change notification settings - Fork 263
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
[Bug]: Importing OneSignalFramework.h
in bridging header results in error No type or protocol named 'OSUser'
/ 'OSLiveActivities'
#1512
Comments
OneSignalFramework.h
in bridging header results in error - No type or protocol named 'OSUser' / 'OSLiveActivities'OneSignalFramework.h
in bridging header results in error No type or protocol named 'OSUser'
/ 'OSLiveActivities'
Similar, unsolved, issue in the |
Any update on this issue? |
This issue only occurs for cross-platform projects, such as those containing .mm |
Able to resolve this issue by adding OneSignal code in Swift file instead of Objective C. |
i'm using the 5.1.3/5.1.6 workaround since 5.2.6/5.2.7 still has the my appdelegate.mm didn't play nice when I tried to convert it to swift. is there any eta on when this will be fixed for objective c without having to downgrade? |
I haven't been able to resolve this issue myself. I've resorted to downgrading to This issue will become a big problem for us soon as our app is a whitelabel app and is launched continuously as new apps. From February 12th 2025 (postponed from November 12th 2024) ITMS-91061 (privacy manifest) will be enforced which means we cannot release new apps with this version of the OneSignal SDK. From the plethora of third party libraries we use, OneSignal is the only one causing issues. |
What happened?
I upgraded our OneSignal SDK from 5.0.2 to 5.2.6 using CocoaPods.
After upgrading, I'm unable to compile our project due to errors in OneSignalFrame due to error
No type or protocol named 'OSUser' / 'OSLiveActivities'
It seems to be related to using a Bridging Header, as the error seems to originate there. I've tried adding
OneSignalLiveActivities
andOneSignalOSCore
to the Bridging Header as these files seem to live there; but to no avail.Steps to reproduce?
What did you expect to happen?
I do not expect these errors to happen, as they did with the 5.0.2
OneSignal iOS SDK version
5.2.6
iOS version
15
Specific iOS version
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: