-
Notifications
You must be signed in to change notification settings - Fork 511
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 13.0 Support #12778
Comments
Is there a rough ETA for this? Is it a matter of day(s), week(s)? |
Days :) we are working around the clock for this. You can in te meantime follow the work on our xcode13-ios branch and install the latest build that is close to be our release candidate xamarin.ios-15.0.0.0.pkg |
Hi @dalexsoto, thank you for the update and the guidance. Will the xamarin.ios-15.0.0.0.pkg work with both VS 2019.11.x and VS 2022 preview 4+ ? |
@IoTFier In theory yes, this is Xamarin.iOS pre .NET 6 so it should be continued to be supported until the .NET 6 SDKs are GA. |
Doesnt work for me with Visual Studio Enterprise 19.11.3, I keep getting this message: The Xamarin.iOS SDK version '15.0.0.0' that is installed on the Mac is not compatible with this version of Visual Studio. Would you like us to install Xamarin.iOS '14.20.0.25' for you? This will overwrite any other existing Xamarin.iOS installation on your Mac. |
I have tried xamarin.ios-15.0.0.0.pkg but cannot deploy to devices. It says "Deploying" but nothing appears in the pad.
|
I also tried this build of Xamarin.iOS. I can't even get it to find/deploy to simulators. It builds for "Generic Simulator" fine but says I don't have any simulators installed.
|
I also have tried xamarin.ios-15.0.0.0.pkg. But I cannot deploy to my iphone with the error message: "An error occurred while executing MTouch"
|
Thanks for the testing! We've identified an issue and a fix is in progress (#12801). We'll update this issue when an updated package is available. |
Same problem, "An error occurred while executing MTouch" |
Option 2 worked for me. Visual Studio 2019 Mac Community 8.10.9 (build 3) All simulators back and at iOS 15. Running on device on iOS 15.0 Many thanks for all your hard work |
@TrevorBond2020 |
At top of this page ... Apple released Xcode 13.0 on September 20, 2021 we are working to get our Xcode 13 support release out in the meantime if you use Xamarin we recommend you to not upgrade to Xcode 13 just yet and keep using Xcode 12.5. If you updated to Xcode 13, you have 3 options: You can download Xcode 12.5 from the downloads page in the Apple Developer Portal and continue to use it. |
The second solution worked for me on VS 8.10.9, Xcode 13 and iOS 15. I only installed xamarin.ios-14.20.0.27.pkg package. |
The second solution worked for me on VS 16.11.3 (Windows), Xcode 13 and iOS 15. I only installed xamarin.ios-14.20.0.27.pkg (iOS dev only). When connection I get the message "The Xamarin.iOS SDK version '14.20.0.27' that is installed on the Mac is not compatible with this version of Visual Studio. Would you like us to install Xamarin.iOS '14.20.0.25' for you? This will overwrite any other existing Xamarin.iOS installation on your Mac." When I click Cancel, connecting continues and the simulators are back in the list. |
Can confirm downgrade to xcode 12.5.1 worked for me on two machines. |
Are you able to deploy the build from xcode 12.5 to an iOS 15 device? |
Hello all, we have a new release candidate build for Xcode 13 Support Please give this a try and let us know how it goes! With ❤️ to you all,
|
I tried xamarin.ios-15.0.0.3.pkg and it worked well with the simulator and an iPhone 😄 |
iOS 15 simulators seem to work well, device not so much. Got the following error while launching my app: error: Unregistered icall 'System.RuntimeTypeHandle:GetAssembly (System.RuntimeType)'
|
@kozw thanks for the report, can I ask you to make a new bug report and if possible attach a test case for this? Thank you! |
That works! Thanks @dalexsoto! |
Issue created. Looks like there is an issue with application extensions |
Hey @ShadowOfPhantom, have you managed to fix this ? |
Hi! Yes, here is the solution |
The table section issue is not a bug. Just Apple change present since first iOS15 Betas. https://twitter.com/chockenberry/status/1405679018909655044?lang=en. |
Does anyone has issue with their app published to TestFlight ? I updated my Visual Studio for mac. My app runs fine with the debug and release version but, when I open my app on TestFlight, it crashes when opening. The build I made with the previous version of VS is working perfectly fine. Tested on iPhone XR iOS 14.8 and iPhone 12 Pro iOS 15. |
Any updates for VS for Windows? I have VS 2019 16.11.3 and it says "The Xamarin.iOS SDK version '15.0.0.6' that is installed on the Mac is not compatible with this version of Visual Studio.". Thanks. |
Hi @mikeks, Refer to this workaround I posted at this #12778 (comment) |
Thanks for the workarounds, can confirm updating VS4Mac to latest stable and adding to the flag for VS2019 for Windows gets remote iOS builds to iPhone running on iOS 14.8 deploying after a few reboots and a little swearing :) Some odd stuff in TabbedPage views though in iOS but that's an XForms issue. |
None of the solutions work for me: This is quite inconvenient, as I am working on a high priority bug. Attempted:
|
@kwaclaw I am able to build just fine using VS 2019 16.11.3 (Windows), Mac mini with XCode 13, and iPhone XS (or any simulator) while my Mac mini has Xamarin SDK 15.0.0.6 installed. You could try cleaning the Mac build cache which usually fixes the odd issue. |
@ahoke-cr Thanks for the advice but cleaning the build cache did not help either. The error references a native bindings library which is the part that does not build. |
@kwaclaw that error sounds like an issue with your project, not Xamarin. If the file needs to be copied as part of the build process, ensure that it is in fact being copied to the build folder. Try to reproduce the issue with a fresh new project and perhaps that will help you narrow down the cause. |
@ahoke-cr Just got the new VS update for Windows (16.11.4) and the build issue is resolved. |
Just got a new VS update with Xamarin.iOS 15.0.0.8 and simulators are not listed again (previously it works in 15.0.0.6) |
I made the mistake to update VS2019 Community Edition to Version 16.11.4, which now REQUIRES Xcode 13.
|
Seen the tab issue, that will need a Forms patch I'm guessing, don't know if an issue has been raised. Can confirm HotReload is borked on iOS 15 sim (sigh) with latest service pack of Forms. |
Same happened to me as well @PredatH0r . Is there any way to roll back versions? I am totally stuck here. |
Unfortunately there is no way to rollback VS2019 Community. Microsoft only offers downgrades for the Professional and Enterprise versions: https://docs.microsoft.com/en-us/visualstudio/releases/2019/history So I'm stuck with VS2019 16.11.4 and Xcode 13 now. With a small code Change in AppDelegate.cs I can at least make the Title bar and Tab bar visible again. public override bool FinishedLaunching(UIApplication app, NSDictionary options) { global::Xamarin.Forms.Forms.Init(); LoadApplication(new App()); if (UIDevice.CurrentDevice.CheckSystemVersion(15, 0)) { var textColor = UIColor.Red; UINavigationBar.Appearance.ScrollEdgeAppearance = new UINavigationBarAppearance() { BackgroundColor = UIColor.FromRGB(33, 150, 234) }; UINavigationBar.Appearance.ScrollEdgeAppearance.TitleTextAttributes.ForegroundColor = textColor; // will be ignored and Title is ALLWAYS black UITabBar.Appearance.ScrollEdgeAppearance = new UITabBarAppearance { BackgroundColor = UIColor.FromRGB(33, 150, 234) }; } return base.FinishedLaunching(app, options); } |
The negligence level reigning in that software provider team is now beyond comprehensible. Obviously some sort of internal sabotage going on. Are MS executives/shareholders aware of this situation and investigating into this recurrent issue? |
@PredatH0r , I encountered similar issue for TabBar in iOS15, you can refer to this solution. I believe you can implement the similar idea for your Title Bar. Good Luck |
Lighten up, Francis. |
I finally have a working solution (for the Navigation/Title and Tab bars): In public override bool FinishedLaunching(UIApplication app, NSDictionary options) { global::Xamarin.Forms.Forms.Init(); LoadApplication(new App()); if (UIDevice.CurrentDevice.CheckSystemVersion(15, 0)) { var textColor = UIColor.White; var backColor = UIColor.FromRGB(33, 150, 234); var stringAttributes = new UIStringAttributes { ForegroundColor = textColor }; UINavigationBar.Appearance.ScrollEdgeAppearance = new UINavigationBarAppearance { BackgroundColor = backColor, TitleTextAttributes = stringAttributes, LargeTitleTextAttributes = stringAttributes }; UITabBar.Appearance.ScrollEdgeAppearance = new UITabBarAppearance { BackgroundColor = backColor }; } return base.FinishedLaunching(app, options); } Please note that the BarTintColor property seems to have no effect at all with iOS 15, regardless of Translucent=false/true. |
haha, thanks Jack. Yeah that hot rebroke huh. Was broken, got fixed, and butchered once more too often. Just about when one indeed lightens up and go shop somewhere else! Wonder what happen to equities when one finds out something is going awfully wrong within the Fortune 500's internal validation process.... step up asap @ms devs. |
https://developercommunity.visualstudio.com/t/XAML-Hot-Reload-does-not-load-with-Xamar/1543082 A fix for this is coming soon. It broke with XCode 13 GA and worked with the previous betas and was missed just before everything shipped. It should still work with iOS Devices, and with MAUI apps with the sim or devices. |
Hy guys, I still can't run my app on IOS 15: =================================================================
|
Hello, now that Xcode 13 support is out in both VS for Windows and VS for Mac I would encourage everyone that if you find issues with anything please report them in the respective support channel so they are not lost.
I will lock this thread for a little so issues can flow to the right places. Please do not forget to fill in as much information as possible requested by the new issues templates. Thank you all! |
🚨 Update⚠️
Hello All!
We have what we believe is the final build for Xcode 13 Support
Thank you for your patience!
The macios team!
Apple released Xcode 13.0 on September 20, 2021 we are working to get our Xcode 13 support release out in the meantime if you use Xamarin we recommend you to not upgrade to Xcode 13 just yet and keep using Xcode 12.5.If you updated to Xcode 13, you have 3 options:You can download Xcode 12.5 from the downloads page in the Apple Developer Portal and continue to use it.If you need to keep Xcode 13 but want to use our current stable d16-10 bits you will need to install the following in you macOS machinexamarin.ios-14.20.0.27.pkgxamarin.mac-7.14.0.27.pkgUse a build from our xcode13-ios 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.0.0.4.pkgWe will keep this issue updated as we go to have the final builds declared.Thank you for your patience!The macios team!The text was updated successfully, but these errors were encountered: