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]: Xamarin.IOS OneSignalNotificationServiceExtension Linker Settings are different error #376

Open
1 task done
turgaygncr opened this issue Apr 7, 2023 · 2 comments

Comments

@turgaygncr
Copy link

turgaygncr commented Apr 7, 2023

How can we help?

Hi,

I'm using VS4Mac 2022, and integrated my xamarin project with Onesignal.SDK via v.9.0 documantation.
I complated all set up but I'm getting error wgile archiving ios project.

The error is:
Native code sharing has been disabled for the extension 'OneSignalNotificationServiceExtension' because the managed linker settings are different between the container app (SDKOnly) and the extension (None).

There is no Arm64 option on extention project build settings. I changed several options but got errors always.

Could you help please ?

My main Xamarin.IOS project build setting:
Ekran Resmi 2023-04-07 09 23 17

That is also my OneSignalNotificationServiceExtension project build setting:
Ekran Resmi 2023-04-07 09 23 51

Code of Conduct

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

I think you are looking in the wrong place on your OneSignalNotificationServiceExtension project.
Try changing the values below to 'AppStore' & 'iPhone'. I'm assuming the 'Linker Behaviour' will need to match.

Debug_IphoneSim

@emawby
Copy link
Contributor

emawby commented Apr 18, 2023

@turgaygncr Hello did the above suggestion resolve your issue?

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