appcenter-sdk-dotnet
appcenter-sdk-dotnet copied to clipboard
Add support for net6 maccatalyst project
Describe the solution you'd like I want to use appcenter analytics and crashes in net6 maccatalyst project
Describe alternatives you've considered None, we are using appcenter in ios app, which has been modified to support maccatalyst also. So we need appcenter to work with net6 maccatalyst
Additional context
It is possible to build and link catalyst project with the current appcenter 4.4.0 version, but after calling AppCenter.Start(...)
, exception is thrown System.Exception: Could not create an native instance of the type 'Microsoft.AppCenter.iOS.Bindings.MSACWrapperSdk': the native class hasn't been loaded.
Hi @marekdovjak
Thank you for proposing this feature request! Yes, AFAICS a stable version of dotnet 6 was released recently with support of maccatalyst, and since we already support maccatalyst on native apple sdk, this feature request totally makes sense. I will create a work item on our board.
Looking at your issue again I realized that it doesn't look like an SDK issue. Please check this thread: https://github.com/microsoft/appcenter-sdk-dotnet/issues/1555
Hello @DmitriyKirakosyan
thanks for your response. I have minimum os version set to 14.2 in both info.plist and .csproj. I also tried to set llvm optimisation on, but I don't think it makes sense for x64 debug/release builds. I still get the same exception. I have also warning displayed for appcenter nugets in project solution
Thank you for the additional information! We will check it and get back to you with an update.
Hi @marekdovjak, we currently don't support maccatalyst platform in our dotnet SDK. I'll create a feature on our board and move this item to the dotnet repository.