1

I developed an app with the MAUI framework. The app works fine in debugging mode, but when switching to release mode with a distribution certificate and uploading it to TestFlight(MAUI iOS), it crashes immediately on launch

Specifically, this issue happens after updating the MAUI .NET framework from .NET 8.0 to .NET 9.0 and Xcode version to 16.4.

Is there any common possibility that causes this issue?

asked Jul 30, 2025 at 13:11
1
  • Have you tried running the app in the release mode, and after that, have you checked the logs? This might be related to your framework, which won't have some permissions required while running in release mode. In schema you can set running mode to release and then try. Commented Jul 31, 2025 at 6:32

1 Answer 1

1

I had to add this:

<MtouchLink>SdkOnly</MtouchLink>
<MtouchInterpreter>-all,SixLabors.ImageSharp</MtouchInterpreter>

Also, I would not bother dealing with test flight, until this is resolved.

You can add provisioning profile for ADHOC distribution to your application, select your test device, and sign it with the distribution certificate. (To see the newly created profile you still have to go to tools>options>xamarin>Apple Account and download the profiles to refresh them).

And then you can prepare the archive, distribute it ADHOC to prepare the .ipa. And then upload the .ipa to see if it works properly, drag-dropping it to ITunes while your test device is connected to your PC.

answered Jul 30, 2025 at 13:45
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.