At Visual Studio 2017 Pro on Windows 10, when I try to connect my Mac, it wants Xamarin.iOS 11.14 but when I click INSTALL, it connects to Mac and gets up to about 88% and then:
"Xamarin.iOS versions mismatch
An error occurred while trying to download Xamarin.iOS'11.14'
There were problems installing Xamarin.iOS'11.14'. Please try again...
I first did: File > New > Project > iPhone.. > Singe View App > Device Support iPad >
Restarted both computers, no effect.
I installed Xamarin.iOS on the Mac itself. Auto provisioning failed also, and I had to install that manually on the Mac. But now I'm building and debugging from VS on Windows to my slave Mac. Hear that iOS? You're now a slave to my Windows. :-D
Related
I use Visual Studio 2022 on Windows for Xamarin development for Android & iOS. I use a Mac Mini with M1 for the iOS builds. All has been working fine for over a month. A few days ago I allowed the MAC to perform an update. Today when I tried to build for iOS, the Pair To Mac dialog said there was a monoframework mismatch and offered to install monoframework 6.12.0.174 on the MAC. Initially I chose Cancel,and then rebooted both machines. The same error occurred when I tried again. This time I allowed the install. After the install completed, every time I try to use the iOS Simulator it hangs as soon as it appears. I would appreciate some direction. I do not know how to fix it and I do not know how to back-out the mono install on the MAC. Please help.
Solution: I updated Visual Studio & Visual Studio for Mac to the current versions. Then found in the following in the Visual Studio ReleaseNotes:
Known Issues
Deploying an iOS app with Visual Studio 2022 and Apple Xcode 13.3 results in a Remote iOS simulator window with a blank/black screen. Workaround: Disable the “Remote Simulator to Windows” check box in the iOS Settings under the Tools - Options menu. The iOS app should deploy correctly on the macOS host.
Following those instructions I disabled the “Remote Simulator to Windows” check box in the iOS Settings under the Tools - Options menu. The iOS app then deployed correctly, but on the macOS host, no longer can it deploy on the Windows machine from the Mac build host as in prior versions.
I am facing the issue to run the xamarin app in IOS simulator. Whenever i am trying to run this app it was asking me to add or pair the Mac. Since I dont own the Mac I tried to install Xamarin.Ios in windows. In this process i need to install the XCode in my windows 10 Os. First of all i am unable to download the Xcode tool from Apple portal with valid credentials. I followed the below 2 links but no luck to download and install the Xcode. Could you guys please help me the easiest solution to download install the Xcode to do the next level of run the App in windows.
https://learn.microsoft.com/en-us/xamarin/ios/get-started/installation/windows/?pivots=windows
https://apps.apple.com/us/app/xcode/id497799835?mt=12
Bottom line is that iOS apps must be build using a licensed Mac OS, period. Visual Studio for Windows does not actually build the iOS app, what it does do is connect to a Mac (which must have XCode installed) and facilitate a remote iOS build via XCode. However, if you have a Mac, you can build both iOS and Android code directly on your Mac using Visual Studio for Mac. Yes, it is frustrating that you must have access to a Mac OS to build iOS apps, but this is a requirement and there is no way around it.
i'm tryng to build an ios app in a iPad connected to my PC. I haven't mac so i use a remote mac (i have a macincloud managed server).
I have a paid developer apple account, I dowloaded ios_certificate and provisioning profile (and installed it in the registered-ipad).
I launch remotebuild from mac terminal, the ios-configuration in tool>option of visual studio is ok and the connection is ok.
I open my project in visual studio, set ios and local device, but when i try to compile the app i have an error, so i have some questions:
1)maybe i need a macincloud dedicated server? (i have a valid ios-developer-certificate but can't install it in xcode because i'm not administrator of tha remote mac).
2) i need to install visual studio in remote mac or it is enough have visual studio installed in my pc?
3)any other suggestions?
P.S. If i compile the ios-app in a generic ios-simulator with remotebuild + f5 in visual studio it works fine.
But if i try to compile in local device i have the following error:
Gravità Codice Descrizione Progetto File Riga Stato eliminazione
Errore Error: Errore di compilazione remota restituito dal server di compilazione La compilazione non è riuscita. Errore: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/user134231/.taco_home/remote-builds/taco-remote/builds/53300/cordovaApp/platforms/ios/cordova/build-debug.xcconfig,-workspace,tennispiu.xcworkspace,-scheme,tennispiu,-configuration,Debug,-destination,generic/platform=iOS,-archivePath,tennispiu.xcarchive,archive,CONFIGURATION_BUILD_DIR=/Users/user134231/.taco_home/remote-builds/taco-remote/builds/53300/cordovaApp/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/user134231/.taco_home/remote-builds/taco-remote/builds/53300/cordovaApp/platforms/ios/build/sharedpch: 1
Thank you if you would like to help me.
For ios target build you need to install xcode and other stuffs (remotebuild agent, npm..) on remote mac.
Please follow official TACO guide available here at paragraph "Mac OS Installation", (its a bit long to post here):
Visual Studio Tools for Apache Cordova: iOS Guide
I'm trying to do some developing with Xamarin. My setup is this:
MacBook Pro running Sierra 10.12.3
-XCode 8.2.1 installed
VMWare Fusion running Win10 VM using Bridged network connection
-Running Visual Studio 15 with Xamarin up-to-date with latest Stable release
I'm still just trying to get everything set up. Originally, I was running Yosemite, so I would get the error that I needed to Accept the XCode terms when I tried to set up my Xamarin Mac Agent, but XCode wasn't even installed (my bad). So, I updated my OS to Sierra and installed XCode. Then, I made sure on the Mac side that my account was included for Remote Login. When I try to connect, it comes back after 30 seconds or so that it "Couldn't Connect". So, if I try another account in the approved Remote Login list that I don't have the password for, it comes back right away that I have the wrong credentials. So that tells me that it must be getting thru to the Mac, but something else is wrong.
Any ideas would be great!
Thanks!
To make the connection between OS X and Windows work, you have to make sure that you're running the same version of Xamarin on both.
On OS X, you need to have Xamarin Studio with the latest stable version of Xamarin and Xamarin.iOS installed. On Windows, you need to check that you have the same version by going to About Visual Studio dialog (Help menu).
Trying to compile an iOS Build shows the following error message:
Could not find 'Xamarin.iOS'
The setting "Deployment Target" on the page "iOS Application" shows this message:
Unable to retrieve iOS SDK information from Xamarin Mac Agent server.
The setting "iOS Bundle Signing" in the project properties shows the following message:
Failed to obtain Profile information from the build server.
Please, check the connectivity with the Mac build host
Visual Studio is successfully connected to a Mac with XCode 8.1. The Xamarin Mac Agent on Windows shows the Mac with a valid "chain" symbol. The "Device Log" on Windows shows all messages from an iPad connected to the Mac, so the connection to the Mac works.
Rebooting all systems had no effect.
Creating an iPad App with Xcode alone works flawless, it runs perfectly on the iPad using the provisioning profile from Xcode.
Version information:
Windows 10.0.10586
macOS 10.12.1
Visual Studio Community 2015 (Windows) Version 14.0.25431.01 Update 3
Xamarin Studio Community (Mac) Version 6.1.2 (build 44)
XCode 8.1 (8B62)