Xamarin Share Extension works fine in Debug, but not when released through TestFlight/AppCenter

Steven Brough 1 Reputation point
2021-01-20T22:12:08.72+00:00

I've been working on a project for a few months, and it is a fairly simple app and a share extension component. For some reason the share extension has stopped working when I deliver the app through AppCenter/TestFlight.

It works exactly as intended when running in debug, both on simulator and a device.

Within the device console I'm seeing errors like:

error: Failed to load AOT module 'ShareExtName' while running in aot-only mode because a dependency cannot be found or it is out of date

I'm in a bit of a wood for the trees situation, so any help would be appreciated!

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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.