Open TryLastOne opened 10 months ago
What version of Xcode and .Net are you using?
Are you using a Mac or Windows machine?
Are you able to reproduce the error on Debug builds?
Hey @shepherd-l, Thank you for your response.
What version of Xcode and .Net are you using?
== > .NET Core SDK: 6.0.417, 7.0.102, 7.0.202, 7.0.306, 7.0.404, 8.0.100 Xcode 14.2 Build 14C18 Xamarin.Mono: 6.12 Xamarin.iOS: 16.2
Are you using a Mac or Windows machine?
==> MacOS 12.7.1 (21G920) on Intel Chip X64. Build configruation: Release
Are you able to reproduce the error on Debug builds? ==> not tried to build with Debug.
Additional information: The same project built on the latest MacOS (Sonoma), Xcode (15.0.1), Mono (6.12.0.188), Xamarin.iOS (16.4.0.23) and Release configuration on M2 chip (ARM64), the issue was not happened.
@TryLastOne I am not able to reproduce this issue but it seems similar to these https://github.com/xamarin/xamarin-macios/issues/12416 https://github.com/dotnet/maui/issues/7396 The newer releases of this SDK will be using the .net7 build tool chain instead of the legacy Xamarin build tools.
What happened?
iOSNotificationsManager.RequestPermissionAsync (System.Boolean fallbackToSettings) System.ExecutionEngineException: Attempting to JIT compile method 'void Com.OneSignal.iOS.OSNotifications:RequestPermission (Com.OneSignal.iOS.OSUserResponseBlock,bool)' while running in aot-only mode. See https://docs.microsoft.com/xamarin/ios/internals/limitations for more information.
Steps to reproduce?
What did you expect to happen?
Show notification prompt on iOS app.
Relevant log output
No response
Code of Conduct