Error with Xamarin Forms iOS release build

Dave Jonker 1 Reputation point
2021-07-05T14:22:10.853+00:00

I'm developing an app with Xamarin Forms for Android and iOS.

The Android version is in the store and is working fine.

The iOS version however works perfectly in debug mode, but whenever I install the app in release mode on a device, it crashes immediately.

I'm not getting much info when it crashes, but this is what I'm able to log:

CallContext.LogicalGetData (System.String )
System.Diagnostics
CorrelationManager.get_ActivityId ()
Microsoft.Azure.Cosmos.ActivityScope
Microsoft.Azure.Cosmos.ActivityScope..ctor (System.Guid activityId) <0x106c6d570 + 0x0002f> in <908f52fa2d71491f9d0af93469cedaec#571c84de367aff99c9a9dd63a567fef4>:0
Microsoft.Azure.Cosmos
ClientContextCore.RunWithDiagnosticsHelperAsync[TResult] (Microsoft.Azure.Cosmos.Tracing.ITrace trace, System.Func`2[T,TResult] task)
Microsoft.Azure.Cosmos
ClientContextCore.OperationHelperWithRootTraceAsync[TResult] (System.String operationName, Microsoft.Azure.Cosmos.RequestOptions requestOptions, System.Func`2[T,TResult] task, Microsoft.Azure.Cosmos.Tracing.TraceComponent traceComponent, Microsoft.Azure.Cosmos.Tracing.TraceLevel traceLevel)
*AppName*.Services
LiveDataStoreGameType.GetAll_AzureAsync (System.Boolean forceRefresh, *AppName*.Shared.enCulture culture)

Does anyone have any idea what to do or what this is? It's almost as if the app isn't able to download anything (but I know for a fact that it has a connection).

Any help is appreciated!

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
{count} votes