-
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
[META] Xcode 15.3 Support for .NET 8 and MAUI #21057
Comments
this is highly necessary - a number of other issues make using 15.3 necessary (can't even debug the iOS app without it), but now it seems that a bunch of bits are entirely broken when using 15.3, in my case mostly around globalization. |
When this is fixed, please update .github/DEVELOPMENT.md so the dev guide doesn't contraindicate Xcode 15.3. |
It should be great to have this informations on the .Net MAUI Output of visual studio code! Output: Android components:
- Java SDK (version: '11.0.22'): installed.
Android SDK recommended required components:
- platforms/android-34 (version: '3'): installed.
- build-tools/34.0.0 (version: '34.0.0'): installed.
- platform-tools (version: '35.0.1'): installed.
- cmdline-tools/11.0 (version: '11.0'): installed.
Android SDK recommended optional components:
- emulator (version: '34.1.19'): installed.
- system-images/android-34/google_apis/x86_64 (version: '8'): installed.
- system-images/android-33/google_apis_playstore/x86_64 (version: '7'): installed.
We could add informations about Xcode/Android sdk compatibilities? |
Hi, installing Xcode 15.2 and using the simulator iOS 17.2 works great for debugging and local deployment. However, uploading the app to the App Store fails the review process:
So I guess on the App Store they use a simulator with iOS 17.4, which then crashes. Any help or ideas is appreciated. Thank you |
@AOgai, I'm curious, have you attempted to run a release build on your local emulator to see if it also crashes? It's worth investigating because crashes upon app launch often occur in release builds (but not in debug builds) when the interpreter isn't utilized. For further insights, you might want to check out these issues: |
@AndreKraemer: Release build on emulator iOS 17.4 crashes with following message:
The interpreter workarounds didn't work for me. What worked for me was adding this from Issue 98941:
Edit: I think <_MonoRuntimeComponentLinking Include="static" RuntimeIdentifier="ios-arm64" /> is maybe not needed. |
With that line included I receive the following error when trying to publish:
I had to remove that line to get it to publish. |
Please Fix this ASAP!! |
Hi //Joacim |
15.4 beta 1 has now been released for a few days. by the time whatever fix is done to get 15.3 supported, 15.4 or 15.5 or who knows which version will already be available and probably also not working. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Is there any progress related to this issue ? Our production app does not work in 15.3 and users are complaining it's crashing. |
This comment was marked as off-topic.
This comment was marked as off-topic.
@jfversluis Can you give an update when this is available? |
@imuller subscribe to this issue and when it's closed there probably will be a comment with an update and then it will probably be available as well of have information when it will be! |
Do we have an ETA on this? |
Can confirm .NET 8.0.5 fixes this for us. |
Thank you for trying the new servicing release. The .NET 8.0.5 contains the fix for dotnet/runtime#98941, thanks for verifying that it works. This should unblock the Xcode 15.3 support. FYI: @jfversluis |
I updated to .NET 8.0.5 and It's still crashing on 17.4 Simulator but on 15.5 it's working completely fine. |
So, is it already possible to do the update to 15.3 using latest nightly builds, or better still wait? |
With Xcode 15.4 now available, can you provide us with an update on this please? |
Does this affect running apps on android emulators on Mac? |
No, this issue is about iOS. I've got nothing but sympathy for the small team at MS working on this, but would love to know some order-of-magnitude timeline as we devs are bound to such timelines to our own bosses. Is it weeks? months? days? |
With the release of .NET 8.0.300 all should be resolved here and you should be able to use Xcode 15.3 and 15.4 without any issues. The .NET for iOS team is working on making all new APIs that came with Xcode 15.3+ available. To track the progress, please refer to this issue: dotnet/macios#20257 Any issues with this will likely need to be reported to the .NET for iOS repository (see link just above here). I'm closing this issue here as the most pressing issue, crashing builds, should now be over. |
I still experience a crash in my MAUI app using Xcode 15.3 or 15.4.
Moving back to using Xcode 15.2 avoids the problem. I haven't yet narrowed down what triggers the crash, but it is not occurring at a certain point in my MAUI code - it occurs at various times during startup. I will try to find the source of the issue, probably by removing startup related code, xaml, etc. until it doesn't crash, and will open a new bug if I can get to that point. However, adding this in case anyone else has hit the same mysterious problem. |
This looks like a similar error to this one, however we would need to see the stack trace to confirm. You can check dotnet/runtime#98941 to see if the stack trace looks similar. If that is the case, I would recommend verifying that your MAUI app is using the 8.0.5 .NET runtime as it might still be using the older version due to caching, etc. |
Update: with the release of .NET 8.0.300 the below crashes are resolved and you should be able to use Xcode 15.3 and 15.4.
However, the .NET for iOS team is still working on making the new APIs added in Xcode 15.3+ available. To keep track of that progress, please refer to this issue: dotnet/macios#20257
Below text is copied from the .NET for iOS repository (see here). TL;DR Xcode 15.3 is not supported at this time.
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 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.See update at the top of this issue.
If you need to download Xcode 15.2 you can get it from the Apple Developer portal.
Known issues
iOS 17.4 Simulator crashesICU causes crash on iOS 17.4 simulatorWorkaround: Use Xcode 15.2. If you really need to use Xcode 15.3 then either use iOS Simulator 17.2 or the workaround provided in dotnet/runtime#98941.We'll keep this post updated as we learn more.
Thank you!
-The macios team (and .NET MAUI team 😄 )
The text was updated successfully, but these errors were encountered: