Getting issue with creating the iOS build for iOS 17

Santosh Kundkar 0 Reputation points
2023-09-25T15:24:53.88+00:00

Hi,
My Config details are
On windows Machine
Visual Studio 2022
Xamarin Forms 4.6
Xamarin.iOS 16.4

On Mac Machine Xcode 15
Now I have connected my mac machine from Windows machine and can run the my project (iOS build) successfully and can see app in iOS simulator 17.

But when I am trying to create the bamboo build I am getting below error
Compilation failed with code 1, command: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -Wno-receiver-forward-class -Wno-objc-missing-super-calls -Wno-unguarded-availability-new -stdlib=libc++ -gdwarf-2 -std=c++14 -I/Library/Frameworks/Xamarin.iOS.framework/Versions/16.0.0.72/SDKs/MonoTouch.iphoneos.sdk/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.0.sdk -Qunused-arguments -miphoneos-version-min=9.0 -arch armv7 -c -o /Users/cerillion/Library/Caches/Xamarin/mtbs/builds/Cerillion.iOS/e117ae4447b7419b3fd21f47febceec481def9cb1e88d7134281e6a5025aeecc/obj/iPhone/Release/mtouch-cache/armv7/registrar.o -x objective-c++ /Users/cerillion/Library/Caches/Xamarin/mtbs/builds/Cerillion.iOS/e117ae4447b7419b3fd21f47febceec481def9cb1e88d7134281e6a5025aeecc/obj/iPhone/Release/mtouch-cache/32/registrar.m build

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

1 answer

Sort by: Most helpful
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,416 Reputation points Microsoft Vendor
    2023-09-26T08:19:03.83+00:00

    Hello,

    Xamarin.iOS.framework/Versions/16.0.0.72/SDKs/MonoTouch.iphoneos.sdk/

    You are running on iOS17 device, but the SDK is still version of 16.0. As listed in Xamarin Support Policy and the comment at GitHub , Xamarin support will end on May 1, 2024 for all Xamarin SDKs. Android 13 and Xcode 14 SDKs (iOS and iPadOS 16, macOS 13) will be the final versions Xamarin will target.

    And it's recommended that you try upgrading your Xamarin.Forms app to a .NET MAUI app. For more details, please see Upgrade from Xamarin to .NET - .NET MAUI | Microsoft Learn

    Best Regards,

    Wenyan Zhang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.