-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[Mac] [iOS] [Test Flight] Crash on Published IPA #17446
Comments
@rolfbjarne Do you have any ideas what could be going on here, or tips to help debug this issue? |
First try keeping the native symbols, that should make the crash report contain actual names for the frames of managed code: <PropertyGroup>
<NoSymbolStrip>true</NoSymbolStrip>
</PropertyGroup> Also if the same crash reproduces without the interpreter, that would be much better (because you get the real stack frames, and not some general stack frames about the interpreter doing stuff). Then you'll hopefully get something more useful than this:
|
Hmm, this does not make sense, I tried replicating the same issue with a new |
Can you attach this project here? |
#9067 (comment) I use this one currently.. |
Here's another one MauiApp2.zip |
I also encountered the same problem on iOS. and don't know what the exact cause is? Because when I run the app in debug mode, nothing happens, but when I run the testfig, the app crashes? |
Can this be due to VS Mac? I've tried release new projects with our profiles and few builds worked, and some don't, after succeeding few attempts. I cannot do a test to create an
|
So just an update seems like it worked with the symbol strip on
Any reasons why it crashes without this? @rolfbjarne |
I published that successfully to TestFlight, and the app launches just fine on my phone, so there's something else going on. Maybe you can invite me to test your app on TestFlight? |
No, there should be no reason why that makes a difference :/ |
Well, here's what I did
I removed
I do not think it is possible that I can invite you on our TestFlight. What I can do is to give you an adhoc IPA, if it is possible that you can send me your UDID then will work it out, if the above An update, after including the |
I can confirm that method works and valid for may project as well. Thank you and you saved my project. |
Have you tried building with a physical device instead 'Generic Device'? |
Yes, I did. It did not work as well. Up to this date, what I put as a solution is still working, even if you are using Visual Studio Code. I am not sure why this is not being prioritised as it causes issue with builds/publish, and such there was another person having the same problem as me. It has been 3 months, and no updates till. :) |
Verified this issue not repro on 17.6.9(415) with the sample project(#9067 (comment)) |
Hi @jbtdevgit. We have added the "s/try-latest-version" label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version. You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
Description
Unable to launch test flight application below is the crash log from the test flight and the release condition for ios,
experimented with
interpreter
llvm
andaotassemblies
none of them worked pretty fine. The app does not crash on release mode when deploying through usb.Steps to Reproduce
VS Mac Preview 6 or VS Code
Release
Generic Device
bin
obj
foldersClean
Rebuild
dotnet publish -f net7.0-ios -c Release
or right clickmaui
project and doarchive
Link to public reproduction project repository
I am using #9067 (comment) since I was having issues with icon and updated necessary plist and csproj for my profiles/codesigning
Version with bug
7.0.92
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
iOS 16.6.1
Did you find any workaround?
N/A
Relevant log output
No response
The text was updated successfully, but these errors were encountered: