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.45k stars 511 forks source link

[Meta] Xcode 14.0 Support #15954

Closed dalexsoto closed 2 years ago

dalexsoto commented 2 years ago

🚨 Update 2 ⚠️

The Xcode 14.0 support to Xamarin.iOS is now available in the stable releases of Visual Studio for Widows and Mac. Please update to the latest stable versions of both.

Thank you for your patience!

The macios team!


Update 1 # 🚨 Update ⚠️ Hello All! We have what we believe is the final build for Xcode 14.0 Support * [xamarin.ios-16.0.0.72.pkg](https://bosstoragemirror.blob.core.windows.net/wrench/6.0.4xx-xcode14/6756a11462d8aa6e73d4a320712b276caba159c1/6718459/package/notarized/xamarin.ios-16.0.0.72.pkg) If you are currently using **.NET MAUI** you will need to wait a little longer in order to use Xcode 14, as for now we highly encourage you to download Xcode 13.4.1 from the [downloads](https://developer.apple.com/download/all/) page in the Apple Developer Portal and continue to use it for now. Thank you for your patience! The macios team!

Update 0 ~Apple released Xcode 14.0 on September 12, 2022 we are working to get our Xcode 14 support release out in the meantime if you use Xamarin **we recommend you to not upgrade to Xcode 14 just yet** and keep using Xcode 13.4.1.~ ~If you updated to Xcode 14, you have 2 options:~ ~1. You can download Xcode 13.4.1 from the [downloads](https://developer.apple.com/download/all/) page in the Apple Developer Portal and continue to use it.~ ~2. Use a build from our [xcode14](https://github.com/xamarin/xamarin-macios/tree/xcode14) branch, this is where our next stable release is coming out and it includes all the iOS 15 SDKs APIs, that said we are still ironing it out.~ * ~[xamarin.ios-15.99.0.464.pkg](https://bosstoragemirror.blob.core.windows.net/wrench/xcode14/9a839d6c4a4c31a2b524fcdb721457900b396b84/6679621/package/notarized/xamarin.ios-15.99.0.464.pkg)~ ~We will keep this issue updated as we go to have the final builds declared.~ ~If you are currently using **.NET MAUI** you will need to wait a little longer in order to use Xcode 14, as for now we highly encourage you to use option 1 above.~ ~Thank you for your patience!~ ~The macios team!~
houserockr commented 2 years ago

Just to add a quick not in case this is useful for others -- I've been using Xcode 14 with the same build of Xamarin.iOS mentioned in the first comment: xamarin.ios-15.99.0.464.pkg

And I've had builds with it in the App Store for about a week, starting shortly after the first comment here was made. I haven't had any strange crashes or user complaints, though that may be partially because everything happens to work fine for my particular app. I wanted to build with Xcode 14 because I also use app extensions, and I have iOS 16 features in them.

I test on devices using TestFlight mostly.

@adam-russell thanks this made my day! I've been fiddling for 2 hours and now I'm back in business.

pasha-o commented 2 years ago

@adam-russell just tested your solution with the updated package - my environment is visual studio 22 for windows, the simulators show now and I can compile and run. however, running on the real apple device with ios 16 still shows multiple errors: 1- Failed to compile the generated registrar code. 2- no type or protocol named 'BADownloadManagerDelegate 3-error HE0004: Could not load the framework 'DVTITunesSoftwareServiceFoundation' (path: /Applications/Xcode.app/Contents/SharedFrameworks/DVTITunesSoftwareServiceFoundation.framework/DVTITunesSoftwareServiceFoundation)

Phenek commented 2 years ago

Visual Studio should warn us to not update Xcode. Regards,

adam-russell commented 2 years ago

@pasha-o I updated my comment to be more clear -- I'm not deploying to device from my development computer. I'm building a production build, uploaded it to App Store Connect/TestFlight and testing with TestFlight.

I'm also using linker settings Link SDK Assemblies Only

Not sure it'll work for everyone, but I was trying to say that I just temporarily ignore not being able to deploy to device over a lightning/usb-c cable, and just go ahead and test with TestFlight (then obviously just pick the builds and submit them to App Review after testing them with TestFlight).

Hopefully that helps; sorry if my comment was misleading.

Was trying to let people know that you can get builds up in the App Store with Xcode 14. Although, like I said, not sure if part of the reason it works is just the surface area of my app. If anyone is doing this they take that risk.. and if you see any weird issues in TestFlight, I would probably back off and wait until there's an official release.

Magic73 commented 2 years ago

I've downgrade Xcode to 13.4.1, but I'm still getting this error:

This warning: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Xamarin\iOS\Xamarin.Shared.targets(1730,3): warning : iOS SDK version '15 .4 'is not installed. Alternatively, the latest version '15 .5 'will be used.

and the this error at the end of the build: Xamarin.iOS 15.12.0 does not support a deployment target of 15.5 for iOS (the maximum is 15.4). Please select an older deployment target in your project's Info.plist or upgrade to a newer version of Xamarin.iOS.

How may I reinstall iOS SDK 15.4???

ivanicin commented 2 years ago

and the this error at the end of the build: Xamarin.iOS 15.12.0 does not support a deployment target of 15.5 for iOS (the maximum is 15.4).

While this won’t answer your question directly (as what you ask is probably possible) do you know what your request means and why would you actually need that (as far as I am aware there is no difference in API from 15.0 so you just insist that users with older versions can’t use your app)?

dalexsoto commented 2 years ago

Hello All!

We have what we believe is the final build for Xcode 14.0 Support

If you are currently using .NET MAUI you will need to wait a little longer in order to use Xcode 14, as for now we highly encourage you to download Xcode 13.4.1 from the downloads page in the Apple Developer Portal and continue to use it for now.

Thank you for your patience!

The macios team!

dalexsoto commented 2 years ago

Please report back any issues that you encounter! Thank you all again for your patience and for following along in this Xcode journey!

Magic73 commented 2 years ago

Unfortunately both my mac and my ipad have updated to the latest version. Now I can't build the application anymore. the visual studio version is completely updated, on the mac i reinstalled the xcode version 13.3.1 (sdk 15.4) and 13.4.1 (sdk 15.5). (Whenever Apple updates something, it's always the same story. a lot of time lost to be able to go back to building.)

with the current configuration, now I get this: Xamarin.iOS 15.14.0 does not support a deployment target of 15.5 for iOS (the maximum is 15.2). Please select an older deployment target in your project's Info.plist or upgrade to a newer version of Xamarin.iOS.

I'm trying to deploy on my ipad (iOS 15.5).

jtorvald commented 2 years ago

@dalexsoto I downloaded and installed the package above and I can confirm that my build works now.

TheSundayDev commented 2 years ago

installed last version and it works! thanks a lot!

Sivagnanam-molex commented 2 years ago

@dalexsoto Thanks for this package. It working fine. Please make it as update for Xamarin.iOS in visual studio.

IDispose commented 2 years ago

No dice. Tried the update via VS 2022 Mac Updater and also explicitly installing the package using the latest link. Unable to get VS4Mac to display any simulators. Previously had tried updating XCode to 13.4. No errors just get "Lower deployment target to see older iOS simulators"

IDispose commented 2 years ago

Unfortunately both my mac and my ipad have updated to the latest version. Now I can't build the application anymore. the visual studio version is completely updated, on the mac i reinstalled the xcode version 13.3.1 (sdk 15.4) and 13.4.1 (sdk 15.5). (Whenever Apple updates something, it's always the same story. a lot of time lost to be able to go back to building.)

with the current configuration, now I get this: Xamarin.iOS 15.14.0 does not support a deployment target of 15.5 for iOS (the maximum is 15.2). Please select an older deployment target in your project's Info.plist or upgrade to a newer version of Xamarin.iOS.

I'm trying to deploy on my ipad (iOS 15.5).

This has been my experience as well. Sometimes days are lost just getting back to where I was and continue. No update so far has been a breeze.

Magic73 commented 2 years ago

I managed to install Xamarin.IiOS version 15.4.0 on the Mac, but now I have this problem connecting to the Mac:

The '15 .4.0.0 'version of the Xamarin.iOS SDK installed on the Mac is not compatible with this version of Visual Studio. Automatically install Xamarin.iOS '15 .12.0.2 '? This operation involves overwriting any other Xamarin.iOS installation on the Mac.

and here I am back to where I was after updating Visual Studio, following the Mac update.

So, what should I do? Why the latest version of Visual Studio 2022 is incompatible with any version of XCode / iOS installed and installable on the Mac?

Here my VS info:

Microsoft Visual Studio Enterprise 2022 Version 17.3.4 VisualStudio.17.Release/17.3.4+32901.215 Microsoft .NET Framework Version 4.8.04084

Xamarin.iOS and Xamarin.Mac SDK 15.12.0.2 (87f98a75e) Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.

Magic73 commented 2 years ago

I have, again, allowed the update to iOS version 15.12, from the Mac link popup. After the installation, I recompiled, and got this error "again":

error MT0074: Xamarin.iOS 15.12.0 does not support a deployment target of 15.5 for iOS (the maximum is 15.4). Please select an older deployment target in your project's Info.plist or upgrade to a newer version of Xamarin.iOS.

I feel like a hamster in the wheel.

rolfbjarne commented 2 years ago

@Magic73

error MT0074: Xamarin.iOS 15.12.0 does not support a deployment target of 15.5 for iOS (the maximum is 15.4). Please select an older deployment target in your project's Info.plist or upgrade to a newer version of Xamarin.iOS.

Did you try changing the deployment target in your project?

dalexsoto commented 2 years ago

No dice. Tried the update via VS 2022 Mac Updater and also explicitly installing the package using the latest link. Unable to get VS4Mac to display any simulators. Previously had tried updating XCode to 13.4. No errors just get "Lower deployment target to see older iOS simulators"

Please make sure that you Visual Studio for Mac / Xcode settings are pointing to the right Xcode version. Also make sure that after you change any of these settings and after you install xamarin.ios-16.0.0.72.pkg you restart Visual Studio For Mac.

VS Settings: image

Xcode settings: image

dalexsoto commented 2 years ago

I managed to install Xamarin.IiOS version 15.4.0 on the Mac, but now I have this problem connecting to the Mac:

The '15 .4.0.0 'version of the Xamarin.iOS SDK installed on the Mac is not compatible with this version of Visual Studio. Automatically install Xamarin.iOS '15 .12.0.2 '? This operation involves overwriting any other Xamarin.iOS installation on the Mac.

and here I am back to where I was after updating Visual Studio, following the Mac update.

So, what should I do? Why the latest version of Visual Studio 2022 is incompatible with any version of XCode / iOS installed and installable on the Mac?

Here my VS info:

Microsoft Visual Studio Enterprise 2022 Version 17.3.4 VisualStudio.17.Release/17.3.4+32901.215 Microsoft .NET Framework Version 4.8.04084

Xamarin.iOS and Xamarin.Mac SDK 15.12.0.2 (87f98a7) Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.

@Magic73 you can try this suggestion here I am not 100% it will work since the VS Windows Integration is now owned by our team but it is worth the shot. Just make sure to use xamarin.ios-16.0.0.72.pkg instead.

IDispose commented 2 years ago

No dice. Tried the update via VS 2022 Mac Updater and also explicitly installing the package using the latest link. Unable to get VS4Mac to display any simulators. Previously had tried updating XCode to 13.4. No errors just get "Lower deployment target to see older iOS simulators"

Please make sure that you Visual Studio for Mac / Xcode settings are pointing to the right Xcode version. Also make sure that after you change any of these settings and after you install xamarin.ios-16.0.0.72.pkg you restart Visual Studio For Mac.

VS Settings: image

Xcode settings: image

My XCode version matches the screenshot. However the xcode app name is just xcode.app and not xcode_14.0.0.app

dalexsoto commented 2 years ago

My XCode version matches the screenshot. However the xcode app name is just xcode.app and not xcode_14.0.0.app

@IDispose that should not matter, quick question have you opened Xcode.app at least once since you upgraded? Does a File new iOS blank project works for you? If the issue persist please open a new bug report and fill in the provided template with your details and we can take it from there.

EeKay commented 2 years ago

I wrote an article guiding others with the possibilities(using the build from this issue, using Xcodes to backup / handling multiple XCode versions, wait for the update. Please ping me if you have released the update for full support, I'll check periodically myself, too. Updating the article when update has been shipped.

You can find the post here: https://eekayonline.medium.com/fixing-the-xamarin-ios-build-error-mt4109-failed-to-compile-the-generated-registrar-code-8856179427b8

When the💩 hits the fan, it's easy to forget the amount of work being put into keeping up with other crew's stuff. So, here's a shoutout to @dalexsoto and the maintainers of the repo for their quick interaction.

THANKS and looking forward to the update :)

IDispose commented 2 years ago

@dalexsoto Yes. I restarted the machine, opened XCode once and VS 2022 couple times. Even a brand new project exhibits the same behavior.

jburtjr commented 2 years ago

Is there any timeline on when the .net Maui will be compatible with Xcode 14? We have a product needing to be released but now I have no way of deploying the product to the App store. I tried downgrading my Xcode to 13.4.1 but still haven't had any success getting the app to run in the simulators or creating a package to deploy to the app store.

dalexsoto commented 2 years ago

Is there any timeline on when the .net Maui will be compatible with Xcode 14? We have a product needing to be released but now I have no way of deploying the product to the App store. I tried downgrading my Xcode to 13.4.1 but still haven't had any success getting the app to run in the simulators or creating a package to deploy to the app store.

Mmm downgrading Xcode should let you be in the state before Xcode 14, your issue seems different and somewhat unrelated to which Xcode you have on your machine, this is just a pure guess from the info provided. Please file an issue agains the MAUI repo https://github.com/dotnet/maui/issues and fill in the issue template and link back here or ping me and we can have a look.

About a timeline we should have manual steps to unblock you any .NET6/MAUI users soon too, I'll reply to this thread as son as we have them.

ac2112 commented 2 years ago

James Montemago created a YouTube video on How to install Multiple versions of Xcode on your Mac. Once this issue is fixed, we're all going to have to deal with it again when Apple performs another update. This is a simple way to manage releases on our side. https://youtu.be/oC5zpEbwViE

l3bel commented 2 years ago

Hello, Thanks everyone for the huge efforts to fix these issues. I confirm there are no more registrar build errors at this point xamarin.ios-16.0.0.72.pkg. I now have networking related issues with other parts (a nuget), but I think it's that nuget to blame. Thanks again to everyone who contributed their time and efforts -and still do

Magic73 commented 2 years ago

I wrote an article guiding others with the possibilities(using the build from this issue, using Xcodes to backup / handling multiple XCode versions, wait for the update. Please ping me if you have released the update for full support, I'll check periodically myself, too. Updating the article when update has been shipped.

You can find the post here: https://eekayonline.medium.com/fixing-the-xamarin-ios-build-error-mt4109-failed-to-compile-the-generated-registrar-code-8856179427b8

When the💩 hits the fan, it's easy to forget the amount of work being put into keeping up with other crew's stuff. So, here's a shoutout to @dalexsoto and the maintainers of the repo for their quick interaction.

THANKS and looking forward to the update :)

@EeKay I got tons of errors while installing cask xcodes :(

I installed from the zip file directly. (here the Montemagno's video: https://www.youtube.com/watch?v=41h0xIKusT0 )

EeKay commented 2 years ago

James Montemago created a YouTube video on How to install Multiple versions of Xcode on your Mac. Once this issue is fixed, we're all going to have to deal with it again when Apple performs another update. This is a simple way to manage releases on our side. https://youtu.be/oC5zpEbwViE

Thanks I'll mention this in my article too! (Also thanks to @Magic73 )

Magic73 commented 2 years ago

Anyway, it doesn't work to me. if I install two xcode packages, neither of them work. when I try to start one, it freezes and I have to close it forcibly. It doesn't matter which version I keep active. Xcode only starts working again if I uninstall one of the two versions. And my problem is not solved, because the version of Visual Studio I have is now too updated compared to the version of xcode I should be using (13.3, with SDK 15.4).

ivanicin commented 2 years ago

I get this when submitting to the App Store:

ITMS-90398: Invalid WatchKit Support - The bundle contains an invalid implementation of WatchKit. The app may have been built or signed with non-compliant or pre-release tools. Visit developer.apple.com for more information.

At this point I don't see any reason for this. I did have a similar problem when I had XCode beta installed, but I don't have it anymore and it worked properly when I uninstalled XCode beta. And searching some more it wasn't exactly the same error.

I'll experiment some more but this looks to be Xamarin problem.

ivanicin commented 2 years ago

I'll experiment some more but this looks to be Xamarin problem.

I did successfully uploaded .ipa file with Watch app (and iOS companion app) created by Xcode. So it seems to be a bug in Xamarin. I see that you have removed bytecode and that the .ipa file is now significantly smaller, but maybe it doesn't work as expected...

ivanicin commented 2 years ago

One warring thing is that I see in the App Center huge pile of these coming from my test device:

Context.Finalize ()
SIGABRT: Linked Away

I don't think that those were crashing the app in use though they are indicated as crashes in AppCenter. Something like this has never happened before Xcode 14.

It could be that this is related to the device connected to the debugger. But again this hasn't happened before and will probably be confusing to any developer.

dalexsoto commented 2 years ago

From Xcode 14.0 release notes:

Deprecations

Starting with Xcode 14, bitcode is no longer required for watchOS and tvOS applications, and the App Store no longer accepts bitcode submissions from Xcode 14.

Xcode no longer builds bitcode by default and generates a warning message if a project explicitly enables bitcode: “Building with bitcode is deprecated. Please update your project and/or target settings to disable bitcode.” The capability to build with bitcode will be removed in a future Xcode release. IPAs that contain bitcode will have the bitcode stripped before being submitted to the App Store. Debug symbols for past bitcode submissions remain available for download. (86118779)

@ivanicin this is related to Xcode 14 but can you please file a separate bug report and fill in the template for this? Looks like we will need to have a deeper look at this.

ss-proc commented 2 years ago

About a timeline we should have manual steps to unblock you any .NET6/MAUI users soon too, I'll reply to this thread as son as we have them.

@dalexsoto Since Apple released iOS 16 to the public, it would be better to not downgrade to Xcode 13. Please let us know when an update will be available for building .NET 7 rc1 + MAUI 7 rc1 + Xcode 14. Thanks!

I got past the build error by following the instructions in https://github.com/dotnet/maui/issues/10234

Currently this is the error that I am getting when running .NET 7 rc1 + MAUI 7 rc1 + Xcode 14:

/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mlaunch --launchsim /Users/mycomputer/Desktop/code/csharp/maui/MauiApp02/MauiApp02/bin/Debug/net7.0-ios/iossimulator-x64/MauiApp02.app --device=:v2:udid=A3E3BF1D-0CEC-4FCE-8AE0-BE4DF3126C44 -sdk 16.0 --sdkroot /Applications/Xcode.app/Contents/Developer
error HE0004: Could not load the framework 'DVTITunesSoftwareServiceFoundation' (path: /Applications/Xcode.app/Contents/SharedFrameworks/DVTITunesSoftwareServiceFoundation.framework/DVTITunesSoftwareServiceFoundation): 
dlopen(/Applications/Xcode.app/Contents/SharedFrameworks/DVTITunesSoftwareServiceFoundation.framework/DVTITunesSoftwareServiceFoundation, 0x0001): Library not loaded: '@rpath/ContentDelivery.framework/Versions/A/ContentDelivery'
  Referenced from: '/Applications/Xcode.app/Contents/SharedFrameworks/DVTITunesSoftwareServiceFoundation.framework/Versions/A/DVTITunesSoftwareServiceFoundation'
  Reason: tried: '/usr/lib/swift/ContentDelivery.framework/Versions/A/ContentDelivery' (no such file), '/Library/Frameworks/Xamarin.iOS.framework/Versions/15.12.0.2/lib/mlaunch/mlaunch.app/Contents/MacOS/../Frameworks/ContentDelivery.framework/Versions/A/ContentDelivery' (no such file), '/Applications/Xcode.app/Contents/SharedFrameworks/DVTITunesSoftwareServiceFoundation.framework/Versions/A/Frameworks/ContentDelivery.framework/Versions/A/ContentDelivery' (no such file), '/usr/lib/swift/ContentDelivery.framework/Versions/A/ContentDelivery' (no such file), '/Library/Frameworks/Xamarin.iOS.framework/Versions/15.12.0.2/lib/mlaunch/mlaunch.app/Contents/MacOS/../Frameworks/ContentDelivery.framework/Versions/A/ContentDelivery' (no such file), '/Applications/Xcode.app/Contents/SharedFrameworks/DVTITunesSoftwareServiceFoundation.framework/Versions/A/Frameworks/ContentDelivery.framework/Versions/A/ContentDelivery' (no such file), '/System/Library/Frameworks/ContentDelivery.framework/Versions/A/ContentDelivery' (no such file)   
harsh9592 commented 2 years ago

I tried xamarin.ios 16.0. No luck. App worked fine on emulator iphone 14 ios 16.0 But on physical device iphone 12 ios 16.0. not able to install from enterprise(release mode).(yes my app is on enterprise release and not on app store). Fyi not able to try debug on iphone 12 ios 16. Any suggestions?

RonnyRos commented 2 years ago

No, having the same issues, physical device does not work.

benspit commented 2 years ago

Same issue, works only on simulators.

DamianMehers commented 2 years ago

FWIW I'm running on real devices - it did give me an error but when I looked at the "Deploying to device" tab it showed an error re provisioning. Once I'd fixed that (by creating an Xcode project using the same bundle id, signing identity and provisioning profile and then letting Xcode fix everything) it worked.

I'm running Ventura, VS Version 17.3.5 (build 0), Xamarin.iOS Version: 16.0.0.72 - my iPhone is running 16.0.2

RonnyRos commented 2 years ago

Can confirm @DamianMehers comment works, recreate the project in xcode with the same bundleid, restart your VSMac, it should deploy to your ios 16 device. With .NET 6 targetting.

ivanicin commented 2 years ago

@DamianMehers this has worked for me without touching anything, but I had to create new provisional profiles as I had some new capabilities. So it is likely that just creating new provisional profiles is enough if that is easier.

harsh9592 commented 2 years ago

Failed. @DamianMehers , I tried with a new provisioning profile and after release on iphone 12 ios16.0.2 via enterprise, it still shows the same error. 'Unable to istall'

When I try to install from the enterprise app store, it starts downloading but after downloading and at time of install, it stops and shows a little cloud icon with a down(download) arrow before the app name, and when I tap on it, it shows an error as mentioned. Steps i performed:

  1. Created a new provisioning profile from an existing certificate.
  2. Download and add to xcode.
  3. Replaced in vs 2022 17.3.5(build 0).
  4. Closed all and reopened.
  5. Clean and rebuild multiple times, check profile settings again.
  6. Created archive, published on enterprise store.
  7. Download on iphone 12 ios16.0.2 Error. Any steps i missed? Any other solution?
nschoenberg commented 2 years ago

I Installed the 16.0 package pinned at the top. I tryed to deploy to an attached device that was working before upgrade to XCode 14. I get the following error: error HE0004: Could not load the framework 'DVTITunesSoftwareServiceFoundation' (path: /Applications/Xcode.app/Contents/SharedFrameworks/DVTITunesSoftwareServiceFoundation.framework/DVTITunesSoftwareServiceFoundation). This problem is probably related to the comment of @ss-proc (https://github.com/xamarin/xamarin-macios/issues/15954#issuecomment-1257040075)

I'm also unable to see any simulator.

Tips are very welcome, thanks

kumarc-123 commented 2 years ago

I Installed the 16.0 package pinned at the top. I tryed to deploy to an attached device that was working before upgrade to XCode 14. I get the following error: error HE0004: Could not load the framework 'DVTITunesSoftwareServiceFoundation' (path: /Applications/Xcode.app/Contents/SharedFrameworks/DVTITunesSoftwareServiceFoundation.framework/DVTITunesSoftwareServiceFoundation). This problem is probably related to the comment of @ss-proc (#15954 (comment))

I'm also unable to see any simulator.

Tips are very welcome, thanks

Facing the same issue here

elomonaco commented 2 years ago

xamarin.ios-16.0.0.72 works like a charm for me, I can now run my xamarin.ios app while still having Xcode 14 installed 😄

appreciate the work you guys put into getting this working, I do native ios development too, so worrying about juggling multiple xcode versions was going to be a hassle.

awaescher commented 2 years ago

The update is now available within VS for Mac. Big hugs to everybody that worked on that.

Bildschirmfoto 2022-09-27 um 20 28 33

For me, selecting iOS simulators worked immediately after the update but I could not deploy onto them. The application output was:

xcrun: error: unable to find utility "simctl", not a developer tool or in PATH
error HE0046: Failed to install the app '...' on the device 'iOS 16.0 (20A360) - iPhone 14 Pro Max': simctl returned exit code 72

The fix was indeed opening Xcode and telling it where its own command line tools are located.

dalexsoto commented 2 years ago

As you found out xamarin.ios-16.0.0.72 is now available in both Visual Studio for Mac and Visual Studio for Windows 17.3.5. Thanks a lot for your patience. I am closing and locking down this issue. The Xcode support for MAUI is still being worked out, I will open a separate issue to track this one.

Again thanks everyone for your patience!