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

[Bug]: Compatibility with .NET 8.0.403 and XCode 16 #125

Open
1 task done
bnoffer opened this issue Oct 12, 2024 · 0 comments
Open
1 task done

[Bug]: Compatibility with .NET 8.0.403 and XCode 16 #125

bnoffer opened this issue Oct 12, 2024 · 0 comments

Comments

@bnoffer
Copy link

bnoffer commented Oct 12, 2024

What happened?

With OneSignalSDK.DotNet 5.2.1 my App crashes in Release Mode since upgrading to .NET 8.0.403 which raises the minimum XCode Version to 16. The NotificationExtension does not even compile throwing an exception showing below in the relevant log output section. I manually compiled the OneSignalSDK.DotNet against the OneSignalSDK.iOS 5.2.5 release using .NET 8.0.403 and that resolved the main applications crash issue in release mode. However the compilation issue with the NotificationExtension remains.

Steps to reproduce?

1. Upgrade to .NET 8.0.403 and XCode 16
2. Try building an application with Notification Extension
3. Remove the Extension if the build fails and test in in release mode

What did you expect to happen?

I expected the NotificationExtension to build and the main application not to crash in release mode.

Relevant log output

ld: warning: mixed ObjC ABI, /Users/user/Projects/MyAppApp/OneSignalNotificationServiceExtension/obj/Debug/net8.0-ios/iossimulator-arm64/nativelibraries/main.arm64.o compiled with category class properties
Undefined symbols for architecture arm64:
  "_xamarin_is_object_valid", referenced from:
      <initial-undefines>
  "_xamarin_is_user_type", referenced from:
      <initial-undefines>
ld: symbol(s) not found for architecture arm64
clang++: error: linker command failed with exit code 1 (use -v to see invocation)

Code of Conduct

  • I agree to follow this project's Code of Conduct
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

1 participant