-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS app crashes using TestFlight #11276
Comments
In another attempt I changed the Linker behaviour from 'Don't Link' to 'Link Framework SDKs Only'
|
Hi @borrmann You can try adding these settings in property group for ios. It worked for me in .net-6
|
i've been having the same problem for quite a while and i thought switching to .net7.0-ios would fix it but so far it has not. i keep getting this crash log Exception Type: EXC_BAD_ACCESS (SIGSEGV) Triggered by Thread: 0 Last Exception Backtrace: Thread 0 name: Thread 1: Thread 2 name: Thread 3 name: Thread 4 name: Thread 5: Thread 6 name: Thread 7: Thread 8: Thread 0 crashed with ARM Thread State (64-bit): Binary Images: EOF |
Try delete bin and obj before publishing,I needed to use the interpreter because I have EF core in my project and the app crashed at start. |
I did use the interpreter and 'Don't link' at all should always work or am I wrong? Once it works without linking, figuring out which package might cause problems when using linker might make sense though. |
I think my problem was with Visual Studio for Mac. I changed the linker settings using the Application, but the log outputs actually showed that the package was Linked. Changing the proj file in a code editor and deleting bin and obj folder did it in the end. |
so quick update i set
|
We'd need a bit more information in order to track this down, either a way to reproduce it ourselves (test project), or at the very least a crash report with more information about the crash. |
@codingL3gend your problem may or may not be the same as the original reporter's, I'd suggest filing your own issue so that we can handle your case separately and not get confused. |
@rolfbjarne i can create a separate issue for sure. i figured i'd post it here since my builds were also crashing via TestFlight and not when i run via a local device. |
@rolfbjarne what sort of crash report? I am not using AppCenter (yet). |
Similar issue here. The difference between release mode package and distribution package make MAUI totally unreliable and unusable. I cannot know will my App have issue after a update even I tested it on both release/debug mode and phisical device and stimulator. |
Our app crashed when installed via TestFlight too. What we found out is that if we build against a generic device then it crashes when running on physical device. If we just plug in an iPad and build against that then it would works. |
We have the same problem, the app crashes when published via testFlight, using the device connected to VS, it works correctly. Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_PROTECTION_FAILURE at 0x000000016fa1bfb0 Exception Codes: 0x0000000000000002, 0x000000016fa1bfb0 VM Region Info: 0x16fa1bfb0 is in 0x16fa18000-0x16fa1c000; bytes after start: 16304 bytes before end: 79 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL MALLOC_TINY 155b00000-155c00000 [ 1024K] rw-/rwx SM=PRV |
Thanks @timdinhdotcom . It seems like this was the original issue. I was also able to use the linker when I create a build for a real device instead the generic device and distribute it via TestFlight. |
Thank you all, using:
did the job for me. |
Hello lovely human, thank you for your comment on this issue. Because this issue has been closed for a period of time, please strongly consider opening a new issue linking to this issue instead to ensure better visibility of your comment. Thank you! |
Description
My iOS App crashes on startup when I distribute it via TestFlight. It works fine when I publish it via Release mode from mac to an iPhone. I recorded my device logs via XCode and after the app crashes I receive the following error:
According to this person here https://developer.apple.com/forums/thread/669864 it could be a framework problem, when not all dependencies are archived in the final build. Since the build works fine in Release mode published from Visual Studio I don't know how to fix or indicate further what causes this problem.
(Version is .NET 7.0, not available yet in dropdown)
Steps to Reproduce
Link to public reproduction project repository
Version with bug
Unknown/Other (please specify)
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
tested with iOS 16
Did you find any workaround?
no
Relevant log output
`Unable to move topic <private>, This topic was not in the list provided! APSTopicListEnabled`
The text was updated successfully, but these errors were encountered: