Repository navigation
Closed
Description
🚨 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 machineUse 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.
We will keep this issue updated as we go to have the final builds declared.
Thank you for your patience!
The macios team!
Reacted by Rame, Hendrik Levknecht, Malik , Thomas Stocker, Brad, Tri Nguyen, Ruben Macias, Brandon Butler, Anbalagan D, Michael Stonis and 40 more
Reacted by pawkanarek
Reacted by Tomasz Cielecki, Timo Partl, Kacper Tryniecki, Bohdan Benetskyi, carmanj, awasser, BBotea, Bastian Aunkofer, Echo Lumaque, Subash Adhikari and 3 more
Reacted by am-kh, Benjamin Granados, carmanj, Takashi Shirahata, TobiasJoergensen, Ty Walls, ethernith, Echo Lumaque, manojdemel12d, Giuseppe Novielli and 5 more
Reacted by Giuseppe Novielli and Nicolas Salinas Galindo
Reacted by Nicolas Salinas Galindo and Peter Tabatt
Activity
Hackmodford commentedon Sep 21, 2021
Is there a rough ETA for this? Is it a matter of day(s), week(s)?
dalexsoto commentedon Sep 21, 2021
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
npagare commentedon Sep 21, 2021
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+ ?
dalexsoto commentedon Sep 21, 2021
@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.
nabilakhlaque commentedon Sep 21, 2021
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.
praeclarum commentedon Sep 21, 2021
I have tried xamarin.ios-15.0.0.0.pkg but cannot deploy to devices. It says "Deploying" but nothing appears in the pad.
KraigM commentedon Sep 21, 2021
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.
IchKannDenken commentedon Sep 22, 2021
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"
rolfbjarne commentedon Sep 22, 2021
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.
CleverSoftwarePoland commentedon Sep 22, 2021
Same problem, "An error occurred while executing MTouch"
TrevorBond2020 commentedon Sep 22, 2021
Option 2 worked for me. Visual Studio 2019 Mac Community 8.10.9 (build 3)
xamarin.mac-7.14.0.27.pkg
xamarin.ios-14.20.0.27.pkg
All simulators back and at iOS 15. Running on device on iOS 15.0
Many thanks for all your hard work
133 remaining items
PredatH0r commentedon Oct 6, 2021
I made the mistake to update VS2019 Community Edition to Version 16.11.4, which now REQUIRES Xcode 13.
Also installed Xamarin 15.0.0.8 on both Windows and the Mac.
mackayn commentedon Oct 6, 2021
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.
haavamoa commentedon Oct 6, 2021
Same happened to me as well @PredatH0r . Is there any way to roll back versions? I am totally stuck here.
PredatH0r commentedon Oct 6, 2021
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.
For unknown reasons though, as soon as I set a ScrollEdgeAppearance (with out without explicit BackgroundColor), the ForegroundColor will be black, ignoring the value from XAML or any attempt to set a value in code through either ScrollEdgeAppearance or StandardAppearance. I'm giving up on this now.
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); }GTCLive commentedon Oct 6, 2021
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?
WongWeiLoon commentedon Oct 6, 2021
@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
GreatBarrier86 commentedon Oct 6, 2021
Lighten up, Francis.
PredatH0r commentedon Oct 6, 2021
I finally have a working solution (for the Navigation/Title and Tab bars):
In
AppDelegate.csof the iOS project: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.
In my app I am using GMImagePicker.Xamarin and its "NavigationBarBarTintColor" property is ignored just like my app's NavigationBar.TintColor.
But with the code snippet above in place, both my app's MainPage and the GMImagePicker now use the blue-ish BackgroundColor and the white text color I set in the code.
GTCLive commentedon Oct 6, 2021
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.
drasticactions commentedon Oct 6, 2021
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.
RTchakmakian commentedon Oct 6, 2021
Hy guys, I still can't run my app on IOS 15:
=================================================================
Native Crash Reporting
Got a segv while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Native stacktrace:
=================================================================
Basic Fault Address Reporting
Memory around native instruction pointer (0x7fff201803cb):0x7fff201803bb 0f 1f 44 00 00 48 85 ff 7e 63 4c 8b 17 49 89 f3 ..D..H..~cL..I..
0x7fff201803cb 45 23 5a 18 49 c1 e3 04 4d 03 5a 10 49 3b 33 75 E#Z.I...M.Z.I;3u
0x7fff201803db 0a 4d 8b 5b 08 4d 31 d3 41 ff e3 49 83 3b 01 76 .M.[.M1.A..I.;.v
0x7fff201803eb 13 49 83 c3 10 49 3b 33 75 f1 4d 8b 5b 08 4d 31 .I...I;3u.M.[.M1
=================================================================
Managed Stacktrace:
=================================================================
dalexsoto commentedon Oct 6, 2021
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!