appcenter-sdk-dotnet icon indicating copy to clipboard operation
appcenter-sdk-dotnet copied to clipboard

Add support for net6 maccatalyst project

Open marekdovjak opened this issue 3 years ago • 5 comments

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.

marekdovjak avatar Nov 22 '21 12:11 marekdovjak

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.

DmitriyKirakosyan avatar Nov 22 '21 14:11 DmitriyKirakosyan

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

DmitriyKirakosyan avatar Nov 23 '21 07:11 DmitriyKirakosyan

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

image

marekdovjak avatar Nov 23 '21 12:11 marekdovjak

Thank you for the additional information! We will check it and get back to you with an update.

DmitriyKirakosyan avatar Nov 23 '21 12:11 DmitriyKirakosyan

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.

DmitriyKirakosyan avatar Dec 03 '21 12:12 DmitriyKirakosyan