I have an application in Xamarin Forms and it stopped working on iPhones that updated to iOS 18.0

Miguel Pires 0 Reputation points
2024-09-26T14:45:52+00:00

I have an application in Xamarin Forms and it stopped working on iPhones that updated to iOS 18.0

The first time I compile the application it works normally, but if I finish it and open it again, it crashes and becomes practically inoperative.

I develop in Visual Studio for Mac. As a solution I updated Xcode to 16 and Visual Studio, but without success.

Do I have any solution so I can make it work for iPhones that are on the iOS 18 version normally in Xamarin Forms or will I need to migrate to .NET MAUI?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,349 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,108 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 65,206 Reputation points
    2024-09-26T18:05:05.96+00:00

    you should try to debug with a iOS simulator or device. It may be your code. if it is a Xamarin library, as they are not supported anymore, you will probably have to migrate to Maui.

    Xcode 16 is currently not supported by Maui, until Maui 9 release (which will not be supported by VS for Mac). You should stay with Xcode 15. you can still build and sign with Xcode 15, and run an app on iOS 18, you just can not build with any iOS 18 dependencies (libraries).

    with the upcoming Maui 9 release you can use Xcode 16 and use iOS 18 features. But you will need to switch to visual studio code, or use Visual Studio in a windows virtual machine.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.