I'm trying to connect my Windows 10 to my Mac to build a Xamarin.Forms app as I've done in the past. However, I'm getting the following error:
Xamarin.iOS versions mismatch The Xamarin.iOS SDK version installed on
Mac is not compatible with this version of Visual Studio. Would you
like us to install Xamarin.iOS '11.14' for you? This will overwrite
any existing Xamarin.iOS installation on your Mac.
Indeed, the version on the Mac is 11.12.0.4. I'm on the stable channel, and it's telling me there are no updates. and I'm on the latest VS on my PC - 15.8.1.
I tried clicking 'Install' but it fails telling me that
There were problems installing...
Is there a way to solve this without uninstalling and reinstalling Visual Studio (which might not even help)?
After further searching the only solution at the moment seems to be to use the beta channel in order to install Xamarin.iOS 11.14 on the Mac.
However, the better solution seems to be to wait. It's supposed to be updated
really soon [Yes. That's a quote.]
Sources for all of that (and how to upgrade using the beta channel):
https://github.com/xamarin/xamarin-macios/issues/4623
https://developercommunity.visualstudio.com/content/problem/311561/installing-xamarinios-1114-from-the-vs4win-connect.html
EDIT
Visual Studio for Mac has been updated. We're supposed to be able to update it and it's supposed to work now.
Related
I'm trying to pair with my Mac to build the iOS version of a MAUI application. I'm running VS2022 17.3 on both PC and Mac but getting this:
Kind of stumped as to why on a brand new Windows install and fresh versions of VS this basic function doesn't work.
Anyone know what to do to resolve this?
UPDATE:
The reason this was not working was that the OP did not have Mono installed on their System.
OG answer:
So I just tried it out on the following versions of VS MAC 17.3(Build 2102) with VS Windows 17.3 and it seems to be working
Steps I recommend you took to make sure this worked for you as well:
Make sure both PC are on the same network(LAN/WIFI)
Make sure there are no updates left over at your end.
If this was connected on a previous version of VS then you might have to disconnect/delete and reconnect this device.
Hope this helps!
I am working on a .NET 6 project using Rider as IDE on macOS Monterey on an Apple M1 Pro.
After updating Rider from 2021.3.4 to 2022.1 with the JetBrains Toolbox, launching the project locally fails with exit code 137.
Trying to debug, I get the following error/timeout:
One or more errors occurred. (Started a process for debugging, but no
CoreCLR runtime was seen to be loaded within the 00:00:16 time limit.)
I already uninstalled and reinstalled .NET 6 with Homebrew. That did not help. The only way to fix the problem was to downgrade Rider to the previous version with the JetBrains Toolbox.
Does anybody know that problem? I don't want to stick with 2021's versions of Rider forever ;-)
Solution
Seems to be an actual bug in Rider that should be fixed with 2022.1.1, according to this Issue: https://youtrack.jetbrains.com/issue/RIDER-76273/Cannot-debug-azure-functions-due-to-0x80131C3C-error
Solution Part 2
Please note also that you have to re-install Azure Toolkit and delete the folder .AzureToolsForIntelliJ directly under your user's directory.
When I build my project in debug mode it builds forever. However there is no problem building in release mode.
This problem first occurred when I updated visual studio for mac to the newest version:
Preview 6 (7.0 build 2740).
This is what my debug settings look like:
Any ideas are much appreciated.
Check for xamarin.forms updates in both in the ios and xamarin project. It could be that theese are not updated even though the solution is updated.
Xamarin.forms package under the iOS project might have an older version
I cannot really help you because I don't know what type of project you tried to run or which OS X you are working with.
If such an Error occurs, always check your code or try restarting your mac.
Tip: "Visual Studio for Mac Preview" is still in its Alpha. Use the Stable Update channel to avoid errors like this.
How can I upgrade my Xamarin.iOS version from 9.6.1.8 to 9.6.1.9 in windows machine?
I have already checked for updates in Xamarin Studio and also checked for updates in Visual Studio 2015>Tools>Options>Xamarin>Other>Check Now and all is looking up to date but as the error log says, Xamarin.iOS version is supposed to be 9.6.1.9.
Thanks in advance.
Xamarin.VisualStudio.IOS.LogHandler Warning: 0 : [2016-04-05
16:13:04.2398] There is a mismatch between the installed Xamarin.iOS
(version 9.6.1.9) on the Mac MacMiniBuildServer.local (192.168.101.15)
and the local Xamarin.iOS 9.6.1.8. While this may not be an issue, it
might cause unexpected behaviors. When applying updates, make sure to
keep both the Mac and Windows in sync.
When updating Xamarin
ensure that the same release channel (stable, beta, alpha) is used on both machines (visible on the update dialog of each tool).
On Mac
Open Xamarin Studio Open Xamarin Studio > Check for Updates
Download updates
Press Restart & Install Updates
On Windows
Open Xamarin Studio Help > Check for Updates
Download updates
Press Restart & Install Updates
Open Visual Studio Tools > Options > Xamarin > Other > Check now
To be damn sure, close and restart everything :P
If it still appears: see the answer from BytesGuy
There is often a discrepancy in the minor version for Xamarin.iOS between the PC and Mac.
This message can be safely ignored as long as you are on the latest stable version on both you PC and Mac (which you seem to be).
The only time this can become an actual issue is when your major versions are different (e.g., 9.6 on PC and 9.8 on Mac).
It turned out to be a problem with Apple Store Distribution Certificate.
I followed this steps and after recreating the Distribution Certificate, all problem was sorted out, so didn't need to upgrade my Xamarin.iOS version to 9.6.1.9.
Hope this might be helpful for other people.
I have a Xamarin.Forms project based on the shared template and VS2013.
I first have updated my machine from Win 8.1 to Win 10.
After doing that, I have tested the projects to my VS2013 installation. All projects including the .forms project have worked without problems.
Then I have installed VS2015 (unter Win 10).
After doing that, I cannot open my .forms-project unter VS2013 anymore.
Error message (translated to English):
Title: Check changes on project and solution.
This projects are not supported or there are changes needed that influences the project behavior so that the projects can be opened in this version of Visual studio.
Changes are automatically applied, so that the behavior is not influenced.
Not supported:
- Android-project
- iOS-Project
So… it seems as something from the VS2015 installation causes this error message in VS2013.
What do I have to do, to bring my project unter VS2013 to work again?
Done...
First, I have tried to remove the VS2013 add-on package “Get Xamarin” and reinstall the add-on package "Xamarin" (what - I think so - should be the new name of the Xamarin integration SW package).
This has not worked...
The installation then have crashed and showed a form with download-links for each piece of SW (including the Integration-SW Xamarin V3.11.1589).
I then have downloaded only the .msi to V3.11.1589 and started it.
By the setup, I was able to select the VS-Version where to install the SW (selected VS2013 as under VS2015 the SW already was installed).
After the installation, I was able again to open my project under VS2013 without error-message.
As I only had the chance to install the newest IS version and the newest V3.11.1589 have dependencies on the MAC (MAC OS at least Mac OS X 10.10.5, XCode at least 7, Xamarin.iOS at least 9.1), I was not able to connect to the MAC BH and had to update the MAC first to XCode 7.1 and the latest Xamarin Studio (about 4,5 gig to install).
After doing that, I have rebooted the MAC and also my PC, un-paired and re-paired the MAC Build Host with my PC and then was able to work again with my VS2013 installation.
Conclusion:
It seems, as the installation of VS2015 with Xamarin (at least on Win
10) removes an already installed Xamarin on an already installed
VS2013, so that the Xamarin projects cannot be opened anymore.
If VS2015 is installed (with Xamarin option), the Xamarin Integration SW V. V3.11.1589 is
installed to VS2015 (today). This is also the latest “stable”
release on the Xamarin page (but I don’t have found a dedicated
download-link for the .msi on the Xamarin pages).
So… as I think, that for VS2015 the
latest “official” version should be used, I think, you also should
install the latest version for the older VS version (so that you are
able to develop with the “old” VS version but also to migrate your
project to VS2015 what should be the target normally).
But, if you want to use this version (V3.11.1589) you also have to update XCode and Xamarin Studio on the MAC (what - depending on your Internet
connection - can take a few hours).
So… if you have the same problem, I suggest you to:
Search for the .msi to V3.11.1589 and install it (select only your “old” VS-Installation in the setup).
As I don’t have found a download link, I have posted in this thread (I think that an answer from Xamarin with a download-link should be added soon)
Update the MAC to XCode 7.1 and Xamarin Studio to the latest stable version (Xamarin.iOS, Version: 9.1.0.27)
Unpair the Build Host in the MAC
Reboot MAC and your development PC
Re-Pair the Build Host
After doing that, my VS2013 installation (Xamarin.Forms project) now works again.