I am using VS 2017 RC,
When i open new project --> Cross-Platform\Cross Platform App
I get error;
The installed Xamarin.iOS (version 10.2) on the Mac Unnamed Server (...) is not compatible with the local Xamarin.iOS 10.4.
As it's mentioned in the comments, this happens when Xamarin.iOS versions mismatch on Windows and Mac.
VS 2017 RC is bundled with Alpha versions of Xamarin tools. Make sure that you have Xamarin.iOS alpha installed on the Mac as well
Related
When I updated the Visual Studio it shows me to update the Xcode 10.2 to 11 to make xamarin.ios compatible with it. So planned to downgrade the xamarin.ios Visual Studio in my Windows machine. How to downgrade Xamarin.ios in Windows machine?
I am working on a Xamarin.Forms project with Visual Studio 2017 Professional with Windows machine. Also, I am using a Mac to build and run the iOS app by pairing the Mac with VS 2017. Sometimes Visual Studio on Mac is also used to build and run the app for both iOS and Android platforms of the same project and Macbook had Visual Studio 2017 for Mac.
Recently I had to restore the Macbook and reinstall the Xamarin development setup. Now the problem is if I install VS 2019 for Mac, it comes with Mono version 6.x.x and my VS 2017 on windows doesn't support that version as it always tells that there's a "Mono version mismatch" and asks to install Mono version 5.18.1, but VS 2019 for Mac does not support that version.
Then I downloaded VS 2017 for mac from the archive and did a fresh installation. After that, when I tried to pair mac with VS on Windows machine, it again notified the "Mono version mismatch" and installed mono 5.18.1. With that version, even a simple Xamarin.Forms project could not able to build on VS 2017 on Mac as it reports this error:
Getting restore information for project /Projects/Hello/Hello.iOS/Hello.iOS.csproj
/Projects/Hello/Hello.iOS/Hello.iOS.csproj(153,3) : error MSB4019: The imported project "/Library/Frameworks/Mono.framework/Versions/5.18.1/lib/mono/xbuild/Xamarin/iOS/Xamarin.iOS.CSharp.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
Unable to create package spec for project. /Projects/Hello/Hello.iOS/Hello.iOS.csproj
Not the best solution, but updating Visual Studio on both platforms to 2019 solved the issue.
Even with all lastest tools installed on Both Visual studio (on windows) and XCode on Mac, I am receiving following error when tried to connect from visual studio 2017 through Xamarin agent. Any hint how to solve it?
"The installed Xamarin.iOS (version not specified) on the Mac 192.168.186.128 is not compatible with the local Xamarin.iOS (version 11.2.1.0). Please select a new server or install the correct Xamarin.iOS versions.
Even with all lastest tools installed on Both Visual studio (on windows) and XCode on Mac
In order to build Xamarin.iOS apps, Xamarin Tools and SDKs are needed on the Mac, too. You should have Visual Studio for Mac installed, it comes with all the necessary tools and SDKs.
If Xamarin is outdated on your Mac (disregarding of the Xcode version) you will see the message that Xamarin.iOS is outdated. Please follow these instructions to update your Xamarin components. (Anyway, avoid the beta channel and stick to stable unless you have a good reason not to.)
When I try to use iPhone simulator, I get an error that VS2017 cannot connect to MAC.
Configuration and software:
Visual Studio 2017 15.2 (26430.14)
Mac OS Sierra 10.12
Latest XCode installed on Mac and the licence is accepted
On Mac, remote login is enabled
Firewall is disabled on Mac
In VS when I try to connect to Mac, I can see the MacBook but I just can't connect using username and password I use for login to Mac
I am however able to connect using ssh:
From your description I suggest that:
Xamarin studio should be installed
Xamarin.iOS SDK should be installed
You should be logged in with that account on your mac.
A Mac running OS X El Capitan (10.11) or higher (although the latest stable version is recommended).
Xamarin Studio 5.10 or higher (although the latest stable version is recommended)). This should be on the same distribution channel as Xamarin for Visual Studio.
Xamarin.iOS SDK.
Apple’s Xcode(7+) IDE and iOS SDK (although the latest stable version from the App Store is recommended)).
https://developer.xamarin.com/guides/ios/getting_started/installation/windows/connecting-to-mac/
Hi am using visual studio 2015 community to create ios app.I am getting this error all time like the ios designer mac agent is not available.I am using win-7 64-bit os.
You have to have a Mac paired with your Windows OS in order to utilize the iOS Designer.
Xamarin.iOS Requirements:
Windows 7 or higher.
Visual Studio 2012 Professional or higher.
Xamarin for Visual Studio.
A Mac running OS X Yosemite (10.10) or higher (although we recommend the latest stable version).
Xamarin iOS SDK.
Apple’s Xcode(7+) IDE and iOS SDK (we recommend the latest version from the App Store).
The Windows computer must be able to reach the Mac via the network.
Xamarin.iOS for Visual Studio accomplishes an amazing feat: it lets you create, build, and debug iOS applications on a Windows computer using the Visual Studio IDE. It cannot do this alone – iOS applications cannot be created without Apple’s compiler, and they cannot be deployed without Apple’s certificates and code-signing tools. This means that your Xamarin.iOS for Visual Studio installation requires a connection to a networked Mac OS X computer in order to perform these tasks. Once configured, Xamarin’s tools will make the process as seamless as possible.
Ref: https://developer.xamarin.com/guides/ios/getting_started/installation/windows/#System_Requirement
This worked for me perhaps it might work for you
Delete the Xamarin folder in your %localappdata%\Local\Temp
If this fails reinstall/update mono on Mac