You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Net 9 Preview 7, On iOS trying to use in release on a real ios device will prevent the app from launching.
To Reproduce
I'm running everything on a M1 mac.
Install net 9 preview 7
Create an iOS sample using the maui template. (or use the one i've included, see below)
Connect a real phone (not a simulator)
Compile in release and make sure the app is working.
There are no crash log available in the mac Console, the app start and immediately exit.
Further technical details
It work fine on Net 8.
In dot net 9 preview 5, launching in debug on a iphone would also crash the application, but that seems to be fixed in preview 7.
I've made a sample app with the UseInterpreter already added. Open the MauiApp1.sln and launch it in release on a real iOS device. MauiApp1.zip
rolfbjarne
changed the title
[iOS] Net 9 Preview 7, iOS app in Release will crash when UseInterpreter is set to true
Incremental builds don't work correctly when changing the UseInterpreter value
Sep 27, 2024
From @DominicGenetec on Thu, 15 Aug 2024 12:37:19 GMT
Describe the bug
Net 9 Preview 7, On iOS trying to use in release on a real ios device will prevent the app from launching.
To Reproduce
I'm running everything on a M1 mac.
Install net 9 preview 7
Create an iOS sample using the maui template. (or use the one i've included, see below)
Connect a real phone (not a simulator)
Compile in release and make sure the app is working.
Add this line in the csproj
Notice the app will crash on launch.
Exceptions (if any)
There are no crash log available in the mac Console, the app start and immediately exit.
Further technical details
It work fine on Net 8.
In dot net 9 preview 5, launching in debug on a iphone would also crash the application, but that seems to be fixed in preview 7.
I've made a sample app with the UseInterpreter already added. Open the MauiApp1.sln and launch it in release on a real iOS device.
MauiApp1.zip
Copied from original issue dotnet/sdk#42752
The text was updated successfully, but these errors were encountered: