xamarin / xamarin-macios

.NET for iOS, Mac Catalyst, macOS, and tvOS provide open-source bindings of the Apple SDKs for use with .NET managed languages such as C#
Other
2.42k stars 507 forks source link

[META] Xcode 15.3/4 Support for .NET 8 and MAUI #20257

Open dalexsoto opened 4 months ago

dalexsoto commented 4 months ago

Hello!

Xcode 15.3 was released on March 5, 2024. We are in the process of updating our bindings and our infra in order to support this release.

~As of the time of this post, Xcode 15.3/4 is not recommended to be used with our .NET MAUI or Xamarin SDKs so our advise is not to install it just yet and keep using Xcode 15.2 for the time being.~

At the moment we have no record of any outstanding issues that prevents Xcode 15.3/4 from working with the latest release of .NET 8 + our workloads (except that none of the new APIs in Xcode 15.3/4 will be available until we release support specifically for Xcode 15.3/4).

However, if you need to download Xcode 15.2 you can get it from the Apple Developer portal.

Known issues

iOS 17.4 Simulator crashes


We'll keep this post updated as we learn more.

Thank you!

-The macios team

Excubitor commented 3 months ago

I have a problem. I can run just fine in the iOS simulator, but when I try to run it on a physical ipad with xcode 15.3 and iOS 17.4 it crashes with the error code below. I posted a question on Microsoft Learn, but was guided here. Could you confirm that this is an issue with Maui and xcode 15.3/iOS 17.4?

Severity Code Description Project File Line Suppression State Error clang++ exited with code 1: Undefined symbols for architecture arm64: "_SSLCopyALPNProtocols", referenced from: _AppleCryptoNative_SslGetAlpnSelected in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o) "_SSLCopyDistinguishedNames", referenced from: _AppleCryptoNative_SslCopyCADistinguishedNames in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o) "_SSLCopyPeerTrust", referenced from: _AppleCryptoNative_SslCopyCertChain in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o) _AppleCryptoNative_SslIsHostnameMatch in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o) "_SSLCreateContext", referenced from: _AppleCryptoNative_SslCreateContext in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o) "_SSLGetNegotiatedCipher", referenced from: _AppleCryptoNative_SslGetCipherSuite in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o) "_SSLGetNegotiatedProtocolVersion", referenced from: _AppleCryptoNative_SslGetProtocolVersion in libSystem.Se FlyoutPageSample

rolfbjarne commented 3 months ago

@Excubitor that's not something we know about. Can you please file a new issue here and we'll have a look.

Excubitor commented 3 months ago

There are surely some problems related to XCode 15.3 and ios 17.4. But I've been able to build an archive (not publish directly to ipad, that doesn't work for 15.3/17.4). I have tried added nugets and it still worked. I seem to run in to problems however when using connected services. I use connected services to connect to an existing soap-api. I haven't recieved "Undefined symbols for architecture arm64: "_SSLCopyALPNProtocols", referenced from" yet but I do get an error "system.NotsupportedException: The given paths format is not supported at System.Security..."" when adding one of the soap api:s as a connected service.

gwise-vision commented 3 months ago

When will Xcode 15.3 be supported? (Xamairn.iOS)

mmiller-d8 commented 3 months ago

I am also getting an error when I try to publish, but it is different from the one above. Is this because of the 15.3 support?

Here is the stack trace from the publish output. Or at least the first group. I can include the rest if needed.

Every line is prefixed with this first line. I figured I'd leave out the repetition.

`/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.2.8043/targets/Xamarin.Shared.Sdk.targets(1214,3):

error MSB4018: The "AOTCompile" task failed unexpectedly. [/myproject.csproj::TargetFramework=net8.0-ios] error MSB4018: System.AggregateException: One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (An error occurred trying to start process '/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.AOT.osx-arm64.Cross.ios-arm64/8.0.1/Sdk/../tools/mono-aot-cross' with working directory 'MySolutionDirectory'. No such file or directory))) (One or more errors occurred. (One or more errors occurred. (An error occurred trying to start process '/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.AOT.osx-arm64.Cross.ios-arm64/8.0.1/Sdk/../tools/mono-aot-cross' with working directory 'MySolutionDirectory'. No such file or directory))) (One or more errors occurred. (One or more errors occurred. (An error occurred trying to start process '/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.AOT.osx-arm64.Cross.ios-arm64/8.0.1/Sdk/../tools/mono-aot-cross' with working directory 'MySolutionDirectory'. No such file or directory))) (One or more errors occurred. (One or more errors occurred. (An error occurred trying to start process '/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.AOT.osx-arm64.Cross.ios-arm64/8.0.1/Sdk/../tools/mono-aot-cross' with working directory 'MySolutionDirectory'. No such file or directory))) (One or more errors occurred. (One or more errors occurred. (An error occurred trying to start process '/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.AOT.osx-arm64.Cross.ios-arm64/8.0.1/Sdk/../tools/mono-aot-cross' with working directory 'MySolutionDirectory'. No such file or directory))) (One or more errors occurred. (One or more errors occurred. (An error occurred trying to start process '/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.AOT.osx-arm64.Cross.ios-arm64/8.0.1/Sdk/../tools/mono-aot-cross' with working directory 'MySolutionDirectory'. No such file or directory))) (One or more errors occurred. (One or more errors occurred. (An error occurred trying to start process '/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.AOT.osx-arm64.Cross.ios-arm64/8.0.1/Sdk/../tools/mono-aot-cross' with working directory 'MySolutionDirectory'. No such file or directory))) (One or more errors occurred. (One or more errors occurred. (An error occurred trying to start process '/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.AOT.osx-arm64.Cross.ios-arm64/8.0.1/Sdk/../tools/mono-aot-cross' with working directory 'MySolutionDirectory'. No such file or directory))) (One or more errors occurred. (One or more errors occurred. (An error occurred trying to start process '/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.AOT.osx-arm64.Cross.ios-arm64/8.0.1/Sdk/../tools/mono-aot-cross' with working directory 'MySolutionDirectory'. No such file or directory))) (One or more errors occurred. (One or more errors occurred. (An error occurred trying to start process '/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.AOT.osx-arm64.Cross.ios-arm64/8.0.1/Sdk/../tools/mono-aot-cross' with working directory 'MySolutionDirectory'. No such file or directory))) (One or more errors occurred. (One or more errors occurred. (An error occurred trying to start process '/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.AOT.osx-arm64.Cross.ios-arm64/8.0.1/Sdk/../tools/mono-aot-cross' with working directory 'MySolutionDirectory'. No such file or directory))) (One or more errors occurred. (One or more errors occurred. (An error occurred trying to start process '/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.AOT.osx-arm64.Cross.ios-arm64/8.0.1/Sdk/../tools/mono-aot-cross' with working directory 'MySolutionDirectory'. No such file or directory))) (One or more errors occurred. (One or more errors occurred. (An error occurred trying to start process '/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.AOT.osx-arm64.Cross.ios-arm64/8.0.1/Sdk/../tools/mono-aot-cross' with working directory 'MySolutionDirectory'. No such file or directory))) (One or more errors occurred. (One or more errors occurred. (An error occurred trying to start process '/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.AOT.osx-arm64.Cross.ios-arm64/8.0.1/Sdk/../tools/mono-aot-cross' with working directory 'MySolutionDirectory'. No such file or directory))) (One or more errors occurred. (One or more errors occurred. (An error occurred trying to start process '/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.AOT.osx-arm64.Cross.ios-arm64/8.0.1/Sdk/../tools/mono-aot-cross' with working directory 'MySolutionDirectory'. No such file or directory))) [myproject.csproj::TargetFramework=net8.0-ios] ---> System.AggregateException: One or more errors occurred. (One or more errors occurred. (An error occurred trying to start process '/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.AOT.osx-arm64.Cross.ios-arm64/8.0.1/Sdk/../tools/mono-aot-cross' with working directory 'MySolutionDirectory'. No such file or directory)) [MyProject.csproj::TargetFramework=net8.0-ios] ---> System.AggregateException: One or more errors occurred. (An error occurred trying to start process '/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.AOT.osx-arm64.Cross.ios-arm64/8.0.1/Sdk/../tools/mono-aot-cross' with working directory 'MySolutionDirectory'. No such file or directory) [MyProject.csproj::TargetFramework=net8.0-ios] ---> System.ComponentModel.Win32Exception (2): An error occurred trying to start process '/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.AOT.osx-arm64.Cross.ios-arm64/8.0.1/Sdk/../tools/mono-aot-cross' with working directory 'MySolutionDirectory'. No such file or directory [MyProject.csproj::TargetFramework=net8.0-ios] at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec) [MyProject.csproj::TargetFramework=net8.0-ios] at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo) [MyProject.csproj::TargetFramework=net8.0-ios] at Xamarin.Utils.Execution.<>c__DisplayClass24_1.b__0() in /Users/builder/azdo/_work/1/s/xamarin-macios/tools/common/Execution.cs:line 103 [MyProject.csproj::TargetFramework=net8.0-ios] --- End of stack trace from previous location`

MitchBomcanhao commented 3 months ago

bump. xcode 15.3 has been out (in beta form at least) since late january. how many months does it take to make things compatible? people's trust in these components has already been shaken with the transition to dotnet maui, now this is dealing a killer blow.

rolfbjarne commented 3 months ago

bump. xcode 15.3 has been out (in beta form at least) since late january. how many months does it take to make things compatible? people's trust in these components has already been shaken with the transition to dotnet maui, now this is dealing a killer blow.

Any particular reason you can't use Xcode 15.2?

MitchBomcanhao commented 2 months ago

migrating a xamarin forms app to maui, there are enormous amounts of bugs and issues to resolve. some of them were only resolved when moving to 15.3. In any case, you shouldn't be shaming users for using something that has been released several months ago when the deal with these components was that whenever a new release rolled out there'd be an update within a few days. How can people expect to keep using this platform if breaking changes are seemingly unaddressed for several months?

dalexsoto commented 2 months ago

migrating a xamarin forms app to maui, there are enormous amounts of bugs and issues to resolve. some of them were only resolved when moving to 15.3. In any case, you shouldn't be shaming users for using something that has been released several months ago when the deal with these components was that whenever a new release rolled out there'd be an update within a few days. How can people expect to keep using this platform if breaking changes are seemingly unaddressed for several months?

Hello! Thanks a lot for being a member of our community, Xcode 15.3 has been somewhat a major release (even if it is a minor version bump) it has come with some complications that has implications down in our stack, we have been working on getting support for it but as you have noticed it has taken us time to get it right; it is not our intention to shame anyone for using "x", we are just pointing out that at this time Xcode 15.3 is not something we support and that you are able to use Xcode 15.2 in the meantime, even Apple still supports uploading apps as far as Xcode 14.x and will enforce Xcode 15 until April 29, 2024.

I strongly encourage you to use Xcode 15.2 for now as it is the official supported Xcode for both MAUI and .NET for iOS/macOS, as mentioned we are working to support the latest Xcode and once we are are ready to ship with the quality our community expects from us we'll ship it.

npostma commented 2 months ago

@mmiller-d8 Did you fix this error? I have this error also. I have downgraded XCode 15.3 to 15.2 but that does not fix this issue (by default). Is there something else that needs to be done?

mmiller-d8 commented 2 months ago

Um... I just upgraded to 15.3 and publishing worked. I rebooted and tried again. First time, I got an error without any messages. Tried again and it worked. Cleaned and rebuilt, and it worked.

Since I downgraded manually and then upgraded from the App Store, is it possible that the 15.2 libraries are still there and Visual Studio is using those?

Also, not having gotten a response on this one, I created a new issue for this specific error. It is at https://github.com/xamarin/xamarin-macios/issues/20387

@npostma

IainS1986 commented 2 months ago

@MitchBomcanhao

What bugs were there in 15.2 that were fixed in 15.3?

All I can say is, we've got a very complex app that touches, bluetooth, camera, file management, sharing, Skia, lottie, online/offline, video playback, custom video handling (custom logic for things like our own subtitle and playback handling), image processing, email and god knows what else.

This all builds absolutely fine on 15.2 🤷

(Note: we don't use MAUI)

MitchBomcanhao commented 2 months ago

I didn't keep track of the specifics as it would be a waste of time to detail issues that had been solved by simply moving to the next production version of the platform... and that's really not relevant. We expect microsoft to provide support within a reasonable timeframe - they're keeping quiet months down the line, this looks very bad.

MitchBomcanhao commented 2 months ago

15.4 is already in beta stage, and there's still no light at the end of the tunnel for 15.3.

stemig commented 2 months ago

Unacceptable response times...

Valronicon commented 2 months ago

Can't publish MAUI as well. Downgrading xcode to 15.2 didn't help.

C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8022\targets\Xamarin.Shared.Sdk.targets(1559,3): error : clang++ wurde mit dem Code 1 beendet: [C:\Repos\MauiApp.csproj::TargetFramework=net8.0-ios] C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8022\targets\Xamarin.Shared.Sdk.targets(1559,3): error : Undefined symbols for architecture arm64: [C:\Repos\MauiApp.csproj::TargetFramework=net8.0-ios] C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8022\targets\Xamarin.Shared.Sdk.targets(1559,3): error : "_SSLCopyALPNProtocols", referenced from: [C:\Repos\MauiApp.csproj::TargetFramework=net8.0-ios] C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8022\targets\Xamarin.Shared.Sdk.targets(1559,3): error : _AppleCryptoNative_SslGetAlpnSelected in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o) [C:\Repos\MauiApp.csproj::TargetFramework=net8.0-ios] C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8022\targets\Xamarin.Shared.Sdk.targets(1559,3): error : "_SSLCopyDistinguishedNames", referenced from: [C:\Repos\MauiApp.csproj::TargetFramework=net8.0-ios] C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8022\targets\Xamarin.Shared.Sdk.targets(1559,3): error : _AppleCryptoNative_SslCopyCADistinguishedNames in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o) [C:\Repos\MauiApp.csproj::TargetFramework=net8.0-ios] C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8022\targets\Xamarin.Shared.Sdk.targets(1559,3): error : "_SSLCopyPeerTrust", referenced from: [C:\Repos\MauiApp.csproj::TargetFramework=net8.0-ios] C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8022\targets\Xamarin.Shared.Sdk.targets(1559,3): error : _AppleCryptoNative_SslCopyCertChain in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o) [C:\Repos\MauiApp.csproj::TargetFramework=net8.0-ios] C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8022\targets\Xamarin.Shared.Sdk.targets(1559,3): error : _AppleCryptoNative_SslIsHostnameMatch in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o) [C:\Repos\MauiApp.csproj::TargetFramework=net8.0-ios] C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8022\targets\Xamarin.Shared.Sdk.targets(1559,3): error : "_SSLCreateContext", referenced from: [C:\Repos\MauiApp.csproj::TargetFramework=net8.0-ios] C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8022\targets\Xamarin.Shared.Sdk.targets(1559,3): error : _AppleCryptoNative_SslCreateContext in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o) [C:\Repos\MauiApp.csproj::TargetFramework=net8.0-ios] C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8022\targets\Xamarin.Shared.Sdk.targets(1559,3): error : "_SSLGetNegotiatedCipher", referenced from: [C:\Repos\MauiApp.csproj::TargetFramework=net8.0-ios] C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8022\targets\Xamarin.Shared.Sdk.targets(1559,3): error : _AppleCryptoNative_SslGetCipherSuite in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o) [C:\Repos\MauiApp.csproj::TargetFramework=net8.0-ios] C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8022\targets\Xamarin.Shared.Sdk.targets(1559,3): error : "_SSLGetNegotiatedProtocolVersion", referenced from: [C:\Repos\MauiApp.csproj::TargetFramework=net8.0-ios] C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8022\targets\Xamarin.Shared.Sdk.targets(1559,3): error : _AppleCryptoNative_SslGetProtocolVersion in libSystem.Se [C:\Repos\MauiApp.csproj::TargetFramework=net8.0-ios]

rolfbjarne commented 2 months ago

Can't publish MAUI as well. Downgrading xcode to 15.2 didn't help.

C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8022\targets\Xamarin.Shared.Sdk.targets(1559,3): error : clang++ wurde mit dem Code 1 beendet: [C:\Repos\MauiApp.csproj::TargetFramework=net8.0-ios] C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8022\targets\Xamarin.Shared.Sdk.targets(1559,3): error : Undefined symbols for architecture arm64: [C:\Repos\MauiApp.csproj::TargetFramework=net8.0-ios] C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8022\targets\Xamarin.Shared.Sdk.targets(1559,3): error : "_SSLCopyALPNProtocols", referenced from: [C:\Repos\MauiApp.csproj::TargetFramework=net8.0-ios] C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8022\targets\Xamarin.Shared.Sdk.targets(1559,3): error : _AppleCryptoNative_SslGetAlpnSelected in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o) [C:\Repos\MauiApp.csproj::TargetFramework=net8.0-ios] C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8022\targets\Xamarin.Shared.Sdk.targets(1559,3): error : "_SSLCopyDistinguishedNames", referenced from: [C:\Repos\MauiApp.csproj::TargetFramework=net8.0-ios] C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8022\targets\Xamarin.Shared.Sdk.targets(1559,3): error : _AppleCryptoNative_SslCopyCADistinguishedNames in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o) [C:\Repos\MauiApp.csproj::TargetFramework=net8.0-ios] C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8022\targets\Xamarin.Shared.Sdk.targets(1559,3): error : "_SSLCopyPeerTrust", referenced from: [C:\Repos\MauiApp.csproj::TargetFramework=net8.0-ios] C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8022\targets\Xamarin.Shared.Sdk.targets(1559,3): error : _AppleCryptoNative_SslCopyCertChain in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o) [C:\Repos\MauiApp.csproj::TargetFramework=net8.0-ios] C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8022\targets\Xamarin.Shared.Sdk.targets(1559,3): error : _AppleCryptoNative_SslIsHostnameMatch in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o) [C:\Repos\MauiApp.csproj::TargetFramework=net8.0-ios] C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8022\targets\Xamarin.Shared.Sdk.targets(1559,3): error : "_SSLCreateContext", referenced from: [C:\Repos\MauiApp.csproj::TargetFramework=net8.0-ios] C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8022\targets\Xamarin.Shared.Sdk.targets(1559,3): error : _AppleCryptoNative_SslCreateContext in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o) [C:\Repos\MauiApp.csproj::TargetFramework=net8.0-ios] C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8022\targets\Xamarin.Shared.Sdk.targets(1559,3): error : "_SSLGetNegotiatedCipher", referenced from: [C:\Repos\MauiApp.csproj::TargetFramework=net8.0-ios] C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8022\targets\Xamarin.Shared.Sdk.targets(1559,3): error : _AppleCryptoNative_SslGetCipherSuite in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o) [C:\Repos\MauiApp.csproj::TargetFramework=net8.0-ios] C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8022\targets\Xamarin.Shared.Sdk.targets(1559,3): error : "_SSLGetNegotiatedProtocolVersion", referenced from: [C:\Repos\MauiApp.csproj::TargetFramework=net8.0-ios] C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8022\targets\Xamarin.Shared.Sdk.targets(1559,3): error : _AppleCryptoNative_SslGetProtocolVersion in libSystem.Se [C:\Repos\MauiApp.csproj::TargetFramework=net8.0-ios]

Try this: https://github.com/xamarin/xamarin-macios/issues/20406#issuecomment-2043093369

MitchBomcanhao commented 1 month ago

xcode 15.4 already in release candidate mode. any light at the end of this tunnel?

nbevans commented 1 month ago

15.4 is released (not beta / RC anymore)

Why does .NET8 not emit a warning that the XCode SDK is not compatible? I've just spent 8 hours trying to understand all sorts of bizarre issues with an iOS build and weird native stack crashes.... and it turns out that XC 15.4 with Visual Studio Latest is simply not compatible right now.

You could maintain this compat list centrally and have the build system keep a locally cached copy for doing its compat checks.

nbevans commented 1 month ago

Also, don't download XCode directly. Use the "Xcodes" tool from https://github.com/XcodesOrg/xcodesapp/releases/ which gives you a clean UX to manage your Xcode installations (side by side) with:

image
nbevans commented 1 month ago

My app no longer crashes within the first second or two of execution after:

  1. Compiling with Xcode 15.2 SDK .. and ..
  2. Using iOS 17.2 simulator

iOS 17.5 simulator (even though compiled with 15.2 SDK) is still crashing. Furthermore, Apple App Review rejected my app for these crashes (and they reviewed it on iOS 17.5). So it seems .NET is broken right now on iOS 17.5...?

dalexsoto commented 1 month ago

@nbevans please file a new issue with what you are seeing, we are working to bring support as soon as possible.

nbevans commented 1 month ago

My issue is the same as in this thread https://github.com/dotnet/runtime/issues/98941

I have a WKWebView. I focus a text box. It crashes.

=================================================================
    Native stacktrace:
=================================================================
    0x121077af5 - /Users/nbevans/Library/Developer/CoreSimulator/Devices/D70423B0-4312-4B27-9F9D-A4460B92B445/data/Containers/Bundle/Application/E1B02664-F47E-4F75-A08E-39F8B40AA850/Singapore.Ssp.Apple.app/libmonosgen-2.0.dylib : mono_dump_native_crash_info
    0x1210164fe - /Users/nbevans/Library/Developer/CoreSimulator/Devices/D70423B0-4312-4B27-9F9D-A4460B92B445/data/Containers/Bundle/Application/E1B02664-F47E-4F75-A08E-39F8B40AA850/Singapore.Ssp.Apple.app/libmonosgen-2.0.dylib : mono_handle_native_crash
    0x12136eb58 - /Users/nbevans/Library/Developer/CoreSimulator/Devices/D70423B0-4312-4B27-9F9D-A4460B92B445/data/Containers/Bundle/Application/E1B02664-F47E-4F75-A08E-39F8B40AA850/Singapore.Ssp.Apple.app/libmonosgen-2.0.dylib : sigabrt_signal_handler.cold.1
    0x121077430 - /Users/nbevans/Library/Developer/CoreSimulator/Devices/D70423B0-4312-4B27-9F9D-A4460B92B445/data/Containers/Bundle/Application/E1B02664-F47E-4F75-A08E-39F8B40AA850/Singapore.Ssp.Apple.app/libmonosgen-2.0.dylib : mono_runtime_setup_stat_profiler
    0x11f944fdd - /usr/lib/system/libsystem_platform.dylib : _sigtramp
    0x600002c78601 - Unknown
    0x7ff80016dd1c - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libsystem_c.dylib : abort
    0x7ff8001f28b0 - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libsystem_malloc.dylib : malloc_vreport
    0x7ff8001f2ab2 - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libsystem_malloc.dylib : malloc_report
    0x7ff801f23d88 - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : _ZN3icu6Locale10setToBogusEv
    0x7ff801f2584a - /Library/Developer/CoreS
imulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : _ZN3icu6LocaleaSERKS0_
    0x7ff802091590 - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : _ZNO3icu6number26UnlocalizedNumberFormatter6localeERKNS_6LocaleE
    0x7ff80203feb7 - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : _ZN3icu13DecimalFormat5touchER10UErrorCode
    0x7ff801f25265 - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : unum_open
    0x7ff8004bff5a - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.s
imruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : __cficu_unum_open
    0x7ff8003fc359 - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : CFNumberFormatterCreate
    0x7ff800e3e873 - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Foundation.framework/Foundation : -[NSNumberFormatter _regenerateFormatter]
    0x7ff800e3fae7 - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Foundation.framework/Foundation : -[NSNumberFormatter stringForObjectValue:]
    0x7ff8057acc05 - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : UIKeyboardGetNumbersStringForActiveInputMode
    0x7ff805828231 - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : UIKBMoreKeyStringForActiveInputMode
    0x7ff8058b3249 - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardLayoutStar updateLocalizedKeysOnKeyplane:]
    0x7ff8058b5415 - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardLayoutStar updateLocalizedKeysForKeyplane:updateAllKeyplanes:]
    0x7ff8058bd405 - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardLayoutStar setKeyplaneName:]
    0x7ff8058c6374 - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardLayoutStar setToInitialKeyplane]
    0x7ff8058c61f9 - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardLayoutStar showKeyboardWithInputMode:renderConfig:inputTraits:screenTraits:splitTraits:reload:]
    0x7ff8058c630e - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardLayoutStar showKeyboardWithInputTraits:screenTraits:splitTraits:]
    0x7ff8059ff003 - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardImpl finishLayoutChangeWithArguments:]
    0x7ff8059ffa5a - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardImpl updateLayout]
    0x7ff8059ed728 - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardImpl _setupDelegate:delegateSame:hardwareKeyboardStateChanged:endingInputSessionIdentifier:force:delayEndInputSession:]
    0x7ff8059ea600 - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardImpl setDelegate:force:delayEndInputSession:]
    0x7ff80549e2c5 - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardSceneDelegate _reloadInputViewsForKeyWindowSceneResponder:force:fromBecomeFirstResponder:]
    0x7ff80549cbfa - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardSceneDelegate _reloadInputViewsForResponder:force:fromBecomeFirstResponder:]
    0x7ff805cfe4f6 - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIResponder(UIResponderInputViewAdditions) reloadInputViews]
    0x7ff80cd26a66 - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/WebKit.framework/WebKit : -[WKContentView(WKInteraction) _elementDidFocus:userIsInteracting:blurPreviousNode:activityStateChanges:userObject:]
    0x7ff80c6f1c72 - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/WebKit.framework/WebKit : _ZN6WebKit14PageClientImpl15elementDidFocusERKNS_25FocusedElementInformationEbbN3WTF9OptionSetIN7WebCore13ActivityStateEEEPN3API6ObjectE
    0x7ff80c71f124 - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/WebKit.framework/WebKit : _ZN6WebKit12WebPageProxy15elementDidFocusERKNS_25FocusedElementInformationEbbN3WTF9OptionSetIN7WebCore13ActivityStateEEERKNS_8UserDataE
    0x7ff80cc6bfd4 - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/WebKit.framework/WebKit : _ZN3IPC13handleMessageIN8Messages12WebPageProxy15ElementDidFocusEN6WebKit12WebPageProxyES5_FvRKNS4_25FocusedElementInformationEbbN3WTF9OptionSetIN7WebCore13ActivityStateEEERKNS4_8UserDataEEEEvRNS_10ConnectionERNS_7DecoderEPT0_MT1_T2_
    0x7ff80cc65d91 - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/WebKit.framework/WebKit : _ZN6WebKit12WebPageProxy17didReceiveMessageERN3IPC10ConnectionERNS1_7DecoderE
    0x7ff80cd6e268 - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/WebKit.framework/WebKit : _ZN3IPC18MessageReceiverMap15dispatchMessageERNS_10ConnectionERNS_7DecoderE
    0x7ff80c852a8b - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/WebKit.framework/WebKit : _ZN6WebKit15WebProcessProxy17didReceiveMessageERN3IPC10ConnectionERNS1_7DecoderE
    0x7ff80cd6a656 - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/WebKit.framework/WebKit : _ZN3IPC10Connection15dispatchMessageENSt3__110unique_ptrINS_7DecoderENS1_14default_deleteIS3_EEEE
    0x7ff80cd6a9f1 - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/WebKit.framework/WebKit : _ZN3IPC10Connection24dispatchIncomingMessagesEv
    0x7ff817b016ee - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore : _ZN3WTF7RunLoop11performWorkEv
    0x7ff817b0230a - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore : _ZN3WTF7RunLoop11performWorkEPv
    0x7ff800429fb3 - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
    0x7ff800429ef5 - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : __CFRunLoopDoSource0
    0x7ff8004296f2 - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : __CFRunLoopDoSources0
    0x7ff800423e27 - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : __CFRunLoopRun
    0x7ff8004236ad - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : CFRunLoopRunSpecific
    0x7ff8103da08f - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices : GSEventRunModal
    0x7ff805cc0ad1 - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIApplication _run]
    0x7ff805cc5551 - /Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : UIApplicationMain

The Apple App Review tested the app with 17.4 (crash dump doesn't indicate whether it was a simulator or not, but I assume it was?)

elamaunt commented 1 month ago

@dalexsoto

Same for me. Simulator with iOS 17.4 crashes when UITextField got focus. The 17.2 works fine.

=================================================================
    Native stacktrace:
=================================================================
    0x1108bcaf5 - /Users/elamaunt/Library/Developer/CoreSimulator/Devices/86505B9F-5065-4579-8387-D1E309CD9DD0/data/Containers/Bundle/Application/69773B27-F066-441C-B977-971818B283E3/1iHC.iOS.app/libmonosgen-2.0.dylib : mono_dump_native_crash_info
    0x11085b4fe - /Users/elamaunt/Library/Developer/CoreSimulator/Devices/86505B9F-5065-4579-8387-D1E309CD9DD0/data/Containers/Bundle/Application/69773B27-F066-441C-B977-971818B283E3/1iHC.iOS.app/libmonosgen-2.0.dylib : mono_handle_native_crash
    0x110bb3b58 - /Users/elamaunt/Library/Developer/CoreSimulator/Devices/86505B9F-5065-4579-8387-D1E309CD9DD0/data/Containers/Bundle/Application/69773B27-F066-441C-B977-971818B283E3/1iHC.iOS.app/libmonosgen-2.0.dylib : sigabrt_signal_handler.cold.1
    0x1108bc430 - /Users/elamaunt/Library/Developer/CoreSimulator/Devices/86505B9F-5065-4579-8387-D1E309CD9DD0/data/Containers/Bundle/Application/69773B27-F066-441C-B977-971818B283E3/1iHC.iOS.app/libmonosgen-2.0.dylib : mono_runtime_setup_stat_profiler
    0x10f12537d - /usr/lib/system/libsystem_platform.dylib : _sigtramp
    0x0 - Unknown
    0x7ff80016dd1c - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libsystem_c.dylib : abort
    0x7ff8001f28b0 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libsystem_malloc.dylib : malloc_vreport
    0x7ff8001f2ab2 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libsystem_malloc.dylib : malloc_report
    0x7ff801f42d6f - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : _ZN3icu6Locale10setToBogusEv
    0x7ff801f4484a - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : _ZN3icu6LocaleaSERKS0_
    0x7ff8020b0590 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : _ZNO3icu6number26UnlocalizedNumberFormatter6localeERKNS_6LocaleE
    0x7ff80205eeb7 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : _ZN3icu13DecimalFormat5touchER10UErrorCode
    0x7ff80205f52b - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : _ZN3icu13DecimalFormatC1ERKNS_13UnicodeStringEPNS_20DecimalFormatSymbolsE18UNumberFormatStyleR10UErrorCode
    0x7ff8020cc93f - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : _ZN3icu12NumberFormat12makeInstanceERKNS_6LocaleE18UNumberFormatStyleaR10UErrorCode
    0x7ff8020cc2ad - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : _ZNK3icu14LocaleCacheKeyINS_18SharedNumberFormatEE12createObjectEPKvR10UErrorCode
    0x7ff801ff28dc - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : _ZNK3icu12UnifiedCache4_getERKNS_12CacheKeyBaseERPKNS_12SharedObjectEPKvR10UErrorCode
    0x7ff8020cce78 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : _ZN3icu12NumberFormat15setRoundingModeENS0_13ERoundingModeE
    0x7ff8020cc3ad - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : _ZNK3icu14LocaleCacheKeyINS_18SharedNumberFormatEE12createObjectEPKvR10UErrorCode
    0x7ff8020cbf56 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : _ZN3icu12NumberFormat14createInstanceERKNS_6LocaleE18UNumberFormatStyleR10UErrorCode
    0x7ff801f43e8f - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libicucore.A.dylib : unum_open
    0x7ff800b5c5ba - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Foundation.framework/Foundation : $s10Foundation10_LocaleICUC5StateV9formatter3for10identifier13numberSymbolsSpySvSgGSgSo18UNumberFormatStyleV_SSSDys6UInt32VSSGSgtF
    0x7ff800b6a5f0 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Foundation.framework/Foundation : $s10Foundation10_LocaleICUC16decimalSeparatorSSSgvgAeC5StateVzYbXEfU_Tm
    0x7ff800b7db1e - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Foundation.framework/Foundation : $s10Foundation10_LocaleICUC16decimalSeparatorSSSgvgAeC5StateVzYbXEfU_TA
    0x7ff800b6f728 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Foundation.framework/Foundation : $s10Foundation10_LocaleICUCAA01_B8ProtocolA2aDP12languageCodeSSSgvgTWTm
    0x7ff800bdfb10 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Foundation.framework/Foundation : $s10Foundation14_NSSwiftLocaleC16decimalSeparatorSSvgTo
    0x7ff800bdd97b - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Foundation.framework/Foundation : $s10Foundation14_NSSwiftLocaleC6object6forKeyypSgSo08NSLocaleF0a_tF
    0x7ff800bde729 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Foundation.framework/Foundation : $s10Foundation14_NSSwiftLocaleC6object6forKeyypSgSo08NSLocaleF0a_tFTo
    0x7ff8057d28a2 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : UIKeyboardInputModeGetDecimalSeparator
    0x7ff8058d3832 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardLayoutStar updateInputModeLocalizedKeysForKeyplane:]
    0x7ff8058d29af - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardLayoutStar updateLocalizedKeysOnKeyplane:]
    0x7ff8058d4659 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardLayoutStar updateLocalizedKeysForKeyplane:updateAllKeyplanes:]
    0x7ff8058dc596 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardLayoutStar setKeyplaneName:]
    0x7ff8058e54e2 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardLayoutStar setToInitialKeyplane]
    0x7ff8058e5367 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardLayoutStar showKeyboardWithInputMode:renderConfig:inputTraits:screenTraits:splitTraits:reload:]
    0x7ff8058e547c - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardLayoutStar showKeyboardWithInputTraits:screenTraits:splitTraits:]
    0x7ff805a1dfc7 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardImpl finishLayoutChangeWithArguments:]
    0x7ff805a1ea1e - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardImpl updateLayout]
    0x7ff805a0c75b - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardImpl _setupDelegate:delegateSame:hardwareKeyboardStateChanged:endingInputSessionIdentifier:force:delayEndInputSession:]
    0x7ff805a09633 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardImpl setDelegate:force:delayEndInputSession:]
    0x7ff8054bde35 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardSceneDelegate _reloadInputViewsForKeyWindowSceneResponder:force:fromBecomeFirstResponder:]
    0x7ff8054bc76a - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIKeyboardSceneDelegate _reloadInputViewsForResponder:force:fromBecomeFirstResponder:]
    0x7ff805d1d22a - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIResponder(UIResponderInputViewAdditions) _reloadInputViewsFromFirstResponder:]
    0x7ff805d16258 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIResponder becomeFirstResponder]
    0x7ff8063a8696 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIView(Hierarchy) becomeFirstResponder]
    0x7ff806118558 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UITextField becomeFirstResponder]
    0x7ff8060c6c58 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UITextInteractionAssistant(UITextInteractionAssistant_Internal) setFirstResponderIfNecessaryActivatingSelection:]
    0x7ff806094d63 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UITextSelectionInteraction _checkForRepeatedTap:gestureLocationOut:]
    0x7ff8060961dc - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UITextSelectionInteraction _handleMultiTapGesture:]
    0x7ff805ce5824 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIApplication sendAction:to:from:forEvent:]
    0x7ff805547938 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UITextMultiTapRecognizer onStateUpdate:]
    0x7ff805651875 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIGestureRecognizerTarget _sendActionWithGestureRecognizer:]
    0x7ff80565b43a - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : _UIGestureRecognizerSendTargetActions
    0x7ff80565822a - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : _UIGestureRecognizerSendActions
    0x7ff8056575d7 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIGestureRecognizer _updateGestureForActiveEvents]
    0x7ff805644b9d - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : _UIGestureEnvironmentUpdate
    0x7ff8056437d9 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIGestureEnvironment _updateForEvent:window:]
    0x7ff805d2b396 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIWindow sendEvent:]
    0x7ff805d0028e - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIApplication sendEvent:]
    0x7ff805db102b - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : __dispatchPreprocessedEventFromEventQueue
    0x7ff805db4154 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : __processEventQueue
    0x7ff805da9d34 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : __eventFetcherSourceCallback
    0x7ff800429ff3 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
    0x7ff800429f35 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : __CFRunLoopDoSource0
    0x7ff800429732 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : __CFRunLoopDoSources0
    0x7ff800423e67 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : __CFRunLoopRun
    0x7ff8004236ed - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation : CFRunLoopRunSpecific
    0x7ff8103ba08f - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices : GSEventRunModal
    0x7ff805cdf6ee - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : -[UIApplication _run]
    0x7ff805ce416e - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore : UIApplicationMain
    0x10f5104ca - /Users/elamaunt/Library/Developer/CoreSimulator/Devices/86505B9F-5065-4579-8387-D1E309CD9DD0/data/Containers/Bundle/Application/69773B27-F066-441C-B977-971818B283E3/1iHC.iOS.app/libxamarin-dotnet-debug.dylib : xamarin_UIApplicationMain
    0x11adbb4bf - Unknown
    0x1107b1504 - /Users/elamaunt/Library/Developer/CoreSimulator/Devices/86505B9F-5065-4579-8387-D1E309CD9DD0/data/Containers/Bundle/Application/69773B27-F066-441C-B977-971818B283E3/1iHC.iOS.app/libmonosgen-2.0.dylib : mono_jit_runtime_invoke
    0x1109a46f8 - /Users/elamaunt/Library/Developer/CoreSimulator/Devices/86505B9F-5065-4579-8387-D1E309CD9DD0/data/Containers/Bundle/Application/69773B27-F066-441C-B977-971818B283E3/1iHC.iOS.app/libmonosgen-2.0.dylib : mono_runtime_invoke_checked
    0x1109ac03b - /Users/elamaunt/Library/Developer/CoreSimulator/Devices/86505B9F-5065-4579-8387-D1E309CD9DD0/data/Containers/Bundle/Application/69773B27-F066-441C-B977-971818B283E3/1iHC.iOS.app/libmonosgen-2.0.dylib : mono_runtime_exec_main_checked
    0x110810b62 - /Users/elamaunt/Library/Developer/CoreSimulator/Devices/86505B9F-5065-4579-8387-D1E309CD9DD0/data/Containers/Bundle/Application/69773B27-F066-441C-B977-971818B283E3/1iHC.iOS.app/libmonosgen-2.0.dylib : mono_jit_exec
    0x10f554bea - /Users/elamaunt/Library/Developer/CoreSimulator/Devices/86505B9F-5065-4579-8387-D1E309CD9DD0/data/Containers/Bundle/Application/69773B27-F066-441C-B977-971818B283E3/1iHC.iOS.app/libxamarin-dotnet-debug.dylib : xamarin_main
    0x10de98304 - /Users/elamaunt/Library/Developer/CoreSimulator/Devices/86505B9F-5065-4579-8387-D1E309CD9DD0/data/Containers/Bundle/Application/69773B27-F066-441C-B977-971818B283E3/1iHC.iOS.app/1iHC.iOS : main
    0x10e7023e0 - Unknown
    0x1179e1386 - Unknown

=================================================================
    Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x10f4857a2):0x10f485792  ff ff c3 90 90 90 b8 48 01 00 02 49 89 ca 0f 05  .......H...I....
0x10f4857a2  73 08 48 89 c7 e9 d8 99 ff ff c3 90 90 90 b8 53  s.H............S
0x10f4857b2  00 00 02 49 89 ca 0f 05 73 08 48 89 c7 e9 c0 99  ...I....s.H.....
0x10f4857c2  ff ff c3 90 90 90 b8 83 01 00 02 49 89 ca 0f 05  ...........I....

=================================================================
    Managed Stacktrace:
=================================================================
      at <unknown> <0xffffffff>
      at UIKit.UIApplication:xamarin_UIApplicationMain <0x0019e>
      at UIKit.UIApplication:UIApplicationMain <0x00122>
      at UIKit.UIApplication:Main <0x004ca>
      at HC1.iHC1Application:Main <0x000ba>
      at Program:<Main>$ <0x00092>
      at <Module>:runtime_invoke_void_object <0x00110>
=================================================================
Richard-Starrtec commented 1 month ago

Do we have an update on when this is going to be available

ia3n commented 1 month ago

Anyone had any luck with upcoming MAUI preview builds for this issue? We were able to build and release to the appstore using Xcode 15.2 but now have widespread user reports of crashes and non-functional controls from any user with a device running iOS 17.4 or higher. Revenue is down 400% as users are abandoning the 'broken' app. Would suggest everyone hold off moving from Xamarin.iOS to MAUI for now until this issue is resolved.

nbevans commented 1 month ago

Yes the apps are crashing during App Review too, from what I can tell.

I feel like everyone thinks this issue only affects the iOS simulators

Our app is just a WKWebView. It doesn't even do very much and we havent changed any code compared to last month. Last month it was fine, but this month they are using 17.4 for App Review and it's crashing. Our app was built for release via AzureDevOps build agent using Xcode 15.2. At first we thought it was a trimming linker issue but it seems that it isn't. Usually with those you'd see LinkedAway in the god awful iOS crash dump; but not this time.

nbevans commented 1 month ago

Having checked this morning I can see that a new test build of our app built on AzureDevOps with Xcode 15.2 AND with the following adding to the project file... appears to have resolved the issue but until I put it thru their App Review I won't be 100% sure. To be clear: this was mandatory to get the app to work at all.

    <!--START-->
    <!-- See https://github.com/xamarin/xamarin-macios/issues/20257#issuecomment-2110175749 -->
    <!-- This is an attempt to workaround issues with iOS ICU (culture i18n related) crashes on .NET8 with Xcode 15.4 and iOS 17.4 or 17.5 -->
    <PropertyGroup>
        <_LibXamarinLinkMode>static</_LibXamarinLinkMode>
        <_LibMonoLinkMode>static</_LibMonoLinkMode>
        <InvariantGlobalization>true</InvariantGlobalization>
    </PropertyGroup>
    <Target Name="_FixMonoLinkMode" AfterTargets="_MonoReadAvailableComponentsManifest">
        <ItemGroup>
            <_MonoRuntimeComponentLinking Remove="dynamic" />
            <_MonoRuntimeComponentLinking Include="static" RuntimeIdentifier="iossimulator-arm64" />
            <_MonoRuntimeComponentLinking Include="static" RuntimeIdentifier="iossimulator-x64" />
        </ItemGroup>
    </Target>
    <!--END-->

Without this in the project file - even a build produced with AzDevOps agent with Xcode 15.2 won't run on iOS 15.8.1 (that's just an old iPad I have lying around to do smoke tests like this with)

I'm guessing it is the InvariantGlobalization=true that does the heavy lifting of fixing the issue. And maybe the _Lib prefixed properties too. The FixMonoLinkMode stuff appears to only be necessary to get it working for local iOS Simulators.

darren102 commented 1 month ago

Having checked this morning I can see that a new test build of our app built on AzureDevOps with Xcode 15.2 AND with the following adding to the project file... appears to have resolved the issue but until I put it thru their App Review I won't be 100% sure. To be clear: this was mandatory to get the app to work at all.

  <!--START-->
  <!-- See https://github.com/xamarin/xamarin-macios/issues/20257#issuecomment-2110175749 -->
  <!-- This is an attempt to workaround issues with iOS ICU (culture i18n related) crashes on .NET8 with Xcode 15.4 and iOS 17.4 or 17.5 -->
  <PropertyGroup>
      <_LibXamarinLinkMode>static</_LibXamarinLinkMode>
      <_LibMonoLinkMode>static</_LibMonoLinkMode>
      <InvariantGlobalization>true</InvariantGlobalization>
  </PropertyGroup>
  <Target Name="_FixMonoLinkMode" AfterTargets="_MonoReadAvailableComponentsManifest">
      <ItemGroup>
          <_MonoRuntimeComponentLinking Remove="dynamic" />
          <_MonoRuntimeComponentLinking Include="static" RuntimeIdentifier="iossimulator-arm64" />
          <_MonoRuntimeComponentLinking Include="static" RuntimeIdentifier="iossimulator-x64" />
      </ItemGroup>
  </Target>
  <!--END-->

Without this in the project file - even a build produced with AzDevOps agent with Xcode 15.2 won't run on iOS 15.8.1 (that's just an old iPad I have lying around to do smoke tests like this with)

I'm guessing it is the InvariantGlobalization=true that does the heavy lifting of fixing the issue. And maybe the _Lib prefixed properties too. The FixMonoLinkMode stuff appears to only be necessary to get it working for local iOS Simulators.

Adding this to the iOS csproj allowed running on the local simulators running xcode15.4, iOS17.5

matouskozak commented 1 month ago

The .NET 8.0.5 servicing is out and the fix for https://github.com/dotnet/runtime/issues/98941 is in and should unblock Xamarin/MAUI to upgrade to Xcode 15.3. FYI: @dalexsoto @rolfbjarne @jfversluis

elamaunt commented 1 month ago

The .NET 8.0.5 servicing is out and the fix for dotnet/runtime#98941 is in and should unblock the upgrade to Xcode 15.3. FYI: @dalexsoto @rolfbjarne @jfversluis

Tried to update .Net on my mac and got new

  /usr/local/share/dotnet/sdk/8.0.300/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportWorkloads.targets(38,5) : error NETSDK1147: To build this project, the following workloads must be installed: ios
  To install these workloads, run the following command: dotnet workload restore

Calling 'dotnet workload restore' now gives an exception after that

Unhandled exception: Microsoft.Build.Exceptions.InvalidProjectFileException: The imported file "$(MSBuildExtensionsPath32)/Microsoft/VisualStudio/v$(VisualStudioVersion)/CodeSharing/Microsoft.CodeSharing.Common.Default.props" does not exist and appears to be part of a Visual Studio component. This file may require MSBuild.exe in order to be imported successfully, and so may fail to build in the dotnet CLI. 

Used Xcode 15.3 and the latest VS for mac update (today).

mmiller-d8 commented 1 month ago

I don't want to beat a dead horse here, but I really hope that the .net product managers are aware that this is a very serious issue that is causing people to lose confidence in the product. This isn't the only quality issue I'm facing. I'm still working on Maui issues that were caused by the .net 8 upgrade, which, in my opinion, should have gone to the top of the issue list right behind this one. Instead, they went into the backlog with the thousands of issues already there that aren't being resolved.

I don't know if it's an issue of funding, but taking four - going on five - months to support the now previous version of Xcode with almost no communication is really bad. It, along with all the other issues, paints a picture that cross platform development doesn't really have the resources or commitment needed for companies to bet their businesses on it. If you're not careful, this will go the way of AppCenter. Or Visual Studio for Mac. Too many bugs and not enough resources to fix them. And then calling "time of death" for VS for Mac when the replacement is nowhere near ready for prime time. All of this causes developer confidence to drop. Once it drops enough, they will leave.

I understand that Maui isn't a revenue generator. It's open source and it's free. But to treat it like a cost center will ultimately hurt Microsoft's revenue generators. If I abandon Maui because of a lack of confidence, it's only a matter of time before I abandon C# in general. And then Azure, which also means SQL Server and Windows.

I'm not trying to beat you guys up. I have worked in software dev for a very long time. I'm just saying that I hope your product managers are getting the message.

snechaev commented 1 month ago

@elamaunt, workload restore works is quite unstable in my experience. Try using explicit dotnet workload install macos ios <whatever you need>

elamaunt commented 1 month ago

@elamaunt, workload restore works is quite unstable in my experience. Try using explicit dotnet workload install macos ios <whatever you need>

Thanks! It fixed the issue. Checked simulator iOS 17.4 and it works fine with XCode 15.3 and Net Sdk 8.0.3 on my Net.8.0-ios project.

Axemasta commented 1 month ago

Just chiming in to say I've updated xcode and my dotnet version and all is working perfectly. I verified the SDK crash in my maui app & then performed the following steps and all is working smoothly:

Thanks for providing this thread and keeping us updated 😊

jacobc94 commented 3 weeks ago

@Axemasta , this did not work for me I installed .Net 8.0.302. it still failed on Rider 2024.1.3. Has anyone else tried??

Axemasta commented 3 weeks ago

this did not work for me I installed .Net 8.0.302. it still failed on Rider 2024.1.3. Has anyone else tried??

Are you using a 'global.json' file to pin the latest version? here is the contents of mine.

{
    "sdk": {
        "version": "8.0.301"
    }
}

And from the rider terminal if I run dotnet --version i see 8.0.301

matteomonizza commented 3 weeks ago

I'm running XCode 15.4, Rider 2024.1.3, .NET 8.0.302, all workloads updated (ios, android, maui). All works fine

tpitman commented 3 weeks ago

There must be something special you have to do. I upgraded to .NET 8.0.302 / 8.0.6 and now the simulator doesn't work on iOS. It was working for me on 8.0.101 / 8.0.1 this morning with Xcode 15.3. The only reason I updated was because I watched a video by the NET MAUI team and they said this was fixed.

I assume I have SR5, but have not way to validate that as far as I know. The video said 8.0.40 SR5 and my output says 8.0.40. Not sure if that is the same thing.

If that is, then please advise on how to get this to work.

I am using it on MacOS on a MacBook pro 2021 with the latest MacOS release version Sonoma.

rolfbjarne commented 2 weeks ago

There must be something special you have to do. I upgraded to .NET 8.0.302 / 8.0.6 and now the simulator doesn't work on iOS.

Please file a new issue, since it might very well be something unrelated.

tpitman commented 2 weeks ago

Done: https://github.com/xamarin/xamarin-macios/issues/20734

primozcerar commented 2 weeks ago

I'm still having issues with this. Specifically with Devexpress MAUI charts, but the devexpress team says they can't resolve this since it's a .net/maui issue with the simulator.

Error log:

=================================================================

Native Crash Reporting

=================================================================

Got a SIGBUS while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application.

=================================================================

=================================================================

Native stacktrace:

=================================================================

Call Stack 0x103130414 - /Users/vasco/Library/Developer/CoreSimulator/Devices/A87FFE72-81B1-480F-9E73-58B54CC6DB14/data/Containers/Bundle/Application/161EEBD5-9132-4816-BE1C-AEC55684BBA0/DXChartConstantLineBug.app/libmonosgen-2.0.dylib : mono_dump_native_crash_info 0x1030e0600 - /Users/vasco/Library/Developer/CoreSimulator/Devices/A87FFE72-81B1-480F-9E73-58B54CC6DB14/data/Containers/Bundle/Application/161EEBD5-9132-4816-BE1C-AEC55684BBA0/DXChartConstantLineBug.app/libmonosgen-2.0.dylib : mono_handle_native_crash 0x103047b0c - /Users/vasco/Library/Developer/CoreSimulator/Devices/A87FFE72-81B1-480F-9E73-58B54CC6DB14/data/Containers/Bundle/Application/161EEBD5-9132-4816-BE1C-AEC55684BBA0/DXChartConstantLineBug.app/libmonosgen-2.0.dylib : mono_sigsegv_signal_handler_debug 0x11a5fbc60 - /usr/lib/system/libsystem_platform.dylib : _sigtramp 0x120431ff8 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/OpenGLES.framework/libCoreVMClient.dylib : cvmsServerElementBuild 0x12042de34 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/OpenGLES.framework/libCoreVMClient.dylib : cvms_element_build_from_source 0x11e07a854 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/OpenGLES.framework/libCVMSPluginSupport.dylib : _Z26cvm_deferred_build_modularPv 0x118f67978 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libdispatch.dylib : _dispatch_client_callout 0x118f6fb10 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libdispatch.dylib : _dispatch_lane_serial_drain 0x118f70688 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libdispatch.dylib : _dispatch_lane_invoke 0x118f7ba84 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libdispatch.dylib : _dispatch_root_queue_drain_deferred_wlh 0x118f7b0d0 - /Library/Developer/CoreSimulator/Volumes/iOS_21E213/Library/Developer/CoreSimulato r/Profiles/Runtimes/iOS 17.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libdispatch.dylib : _dispatch_workloop_worker_thread 0x11a61b924 - /usr/lib/system/libsystem_pthread.dylib : _pthread_wqthread 0x11a61a6e4 - /usr/lib/system/libsystem_pthread.dylib : start_wqthread

=================================================================

Basic Fault Address Reporting

=================================================================

Call Stack Memory around native instruction pointer (0x11a5fb8a0):0x11a5fb890 28 24 40 a8 2a 2c 41 a8 21 80 00 91 42 00 05 cb ($@.,A.!...B... 0x11a5fb8a0 0c 34 00 a9 0e 3c 01 a9 42 00 01 f1 29 01 00 54 .4...<..B...)..T 0x11a5fb8b0 68 24 00 a9 6a 2c 01 a9 63 80 00 91 28 24 40 a8 h$..j,..c...($@. 0x11a5fb8c0 2a 2c 41 a8 21 80 00 91 42 80 00 f1 28 ff ff 54 ,A.!...B...(..T

All components updated to latest which should not have anymore simulator issues according to Microsoft MAUI team.

.net SDK 8.0.302
VS 17.10.2
MAUI 8.0.60
Simulator iPhone 15 iOS 17.4 or 17.5
XCode 15.4

All workloads updated on Win and Mac

Installed Workload Id Manifest Version Installation Source
android 34.0.113/8.0.100 SDK 8.0.300, VS 17.10.35004.147
aspire 8.0.1/8.0.100 SDK 8.0.300, VS 17.10.35004.147
ios 17.2.8053/8.0.100 SDK 8.0.300, VS 17.10.35004.147
maccatalyst 17.2.8053/8.0.100 SDK 8.0.300, VS 17.10.35004.147
maui 8.0.40/8.0.100 SDK 8.0.300
maui-windows 8.0.40/8.0.100 SDK 8.0.300, VS 17.10.35004.147
wasi-experimental 8.0.6/8.0.100 SDK 8.0.300