Impact of Upgrading to Xcode 16 on Xamarin Forms Code Compatibility

Chinmay Dole 200 Reputation points
2024-12-20T07:08:45.64+00:00

Hi,

I am in the middle of migrating the Xamarin Forms code to MAUI, but we still need to release production bug fixes with Xamarin Forms. I am currently using macOS 14.3.1 and need to upgrade to macOS 15.2 to get Xcode 16, as I am receiving an error asking me to update to Xcode 16 for MAUI debugging and creating the IPA. If I upgrade to Xcode 16, will I still be able to run the Xamarin Forms code?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,368 questions
{count} votes

Accepted answer
  1. Bruce (SqlWork.com) 68,716 Reputation points
    2024-12-20T14:49:35.5833333+00:00

    the last release of the Xamarin build tools supported Xcode 15, they do not work with Xcode 16. the lastest Maui 8 build chain only supports Xcode 16. you can downgrade the workload to support Xcode 15:

    https://github.com/xamarin/xamarin-macios/releases/tag/dotnet-8.0.1xx-xcode16.0-8303

    Maui 9 requires Xcode 16.

    note: if apple follows their normal practices, in a few months, they will stop support of signing with Xcode 15, and you will no longer be able to publish a Xamarin project.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Chinmay Dole 200 Reputation points
    2024-12-25T04:49:01.19+00:00

    Thank you for your replies. Sorry for replying late. I have updated Xcode and Mac OS to 16.2 and 15.2 respectively. I have separately downloaded Xcode 15.2 to support Xamarin Forms, and changed the Xcode version to 15.2 to create iPA for Xamarin Forms, and it works now. If required, I will again reach out to you.

    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.