Xamarin ios App Crashes when deployed

Mike Mendelow 1 Reputation point
2021-10-18T16:54:19.683+00:00

Our Xamarin iPhone App works great on local emulators and local phone devices for both Debug AND Release configurations. When deployed to Testlfight and downloaded on iPhone device, the app immediately crashes.

Crash log (attached) shows a generic exception:

Exception Type: EXC_BAD_ACCESS (SIGABRT) Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000 VM Region Info: 0 is not in any region. Bytes before following region: 4373528576

Was also able to generate run logs (attached) for iOS 14 and 15 but I don't see anything helpful. iOS 15 log does show this, which might be relevant but I don't see an entitlement that matches.

Error getting value for entitlement 'com.apple.private.dt.xctest.internal-client': Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"

PC Visual Studio version 16.1.1.5 Xamarin 16.11.0.17 Xamarin.ios 15.0.0.8

Mac Xamarin.iOS version 15.0.0.8

Linker Behavior is "Link Framework SDKs Only" (If I try to use "Don't Link" I get a native linking error)

NuGet packages installed:

Newtonsoft.Json (13.0.1)

sqlite-net-pcl (1.8.116)

Xam.Plugins.Settings (3.1.1)

Xamarin.Auth (1.7.0)

Xamarin.Essentials (1.7.0)

Xamarin.Forms (5.0.0.2125)

Obviously have googled as much as I could but haven't found any solutions. Would really appreciate any and all suggestions - thank you so much!

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