question

RichTemen-8895 avatar image
0 Votes"
RichTemen-8895 asked RobCaplan edited

Xamarin.iOS version mismatch

When I start my VS2019, I now get this error when connection to my MAC in Cloud. This has not happened previously, so I am guessing that something was updated and now they are not compatable.
Here is a screenshot of the message.
43303-image.png


When I tell it to install, it indicates that there were problems installing and if it persists, I should try installing directly on the MAC.
I do not know how to install on the MAC, nor do I know that I have permissions on that MAC to install.

dotnet-xamarin
image.png (24.2 KiB)
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@RichTemen-8895

Please update your visual studio for windows to the latest .

On mac we can update Xamarin.iOS separately ,but we can only update visual studio on windows(it contains all the things need to update including Xamarin.iOS package).

1 Vote 1 ·

Upgrading VS on my PC did the trick.
Thanks,

0 Votes 0 ·

I think you can't donwgrade Xamarin.iOS .

Have the same problem on one of my image's , click cancel and then you can work .


Even better upgrade Visual Studio

0 Votes 0 ·

1 Answer

Mrdhockey-4161 avatar image
0 Votes"
Mrdhockey-4161 answered marmaniak commented

@RichTemen-8895 I realize this is kind of an old question, however it took me quite awhile to figure this out myself. I tried selecting the install (from the Windows system) with out any change. I finally figured it out. First move over to you Mac. Open Visual Studio, from the menu select "Project" and from the drop down menu select "Manage NuGets". When the Nuget Manage comes up select the "Updates" tab. In the Updates listed you will see "Xamarin.Forms", this is the NuGet that contains "Xamarin.iOS". Doing this update will fix the message and the mismatch on the Windows system. I suggest doing any other updates that are displayed too. If your anything like me you don't actually work on the Mac very often so you might as well do all the updates while your there as it will probably help avoid any future problems when testing the apps. Hope this helps or at least helps someone.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

OMG... THANK YOU!!!!!!!!!!!!!!!!! It is not at all clear that the problem is actually with the version of xamarin.ios that is in the project, not on the computer...

0 Votes 0 ·