This emulator provides you the best way to test and debug iOS apps on the simulator entirely from Visual Studio on Windows. So it is a good tool for the iOS apps developers, they can easily navigate it, as its UI is user-friendly and simple to use. I'm able to deploy an app from Xcode to the iOS Simulator just fine. Just won't work from Xamarin Studio. In all fairness I do get an error: No installed provisioning profiles match the installed iOS code signing keys.
- Office For Mac + Torrent
- Android For Visual Studio
- Visual Studio For Mac + Android App Simulator For Windows
- Android App Visual Studio 2017
- Android Studio Download For Mac
- Itunes For Mac + Pc
I have a Xamarin.Forms project.
I'm using vs2015.
Today I updated Xamarin to the latest version:4.0.0.1697.
When I tried to connet my mac as the Xamarin Mac Agent, vs shows the message below:
Starting Agent Build 4.0.0.1697...
Failed to start iOS Simulator in the mac
An error occured starting the Build 4.0.0.1697 agent: The operation has timed out.
Starting Agent Designer 4.0.0.1697...
An error occured starting the Designer 4.0.0.1697 agent: The operation has timed out.
The Xamarin Mac Agent could not be fully started. Agents not started: IDB 4.0.0.1697, Designer 4.0.0.1697, Build 4.0.0.1697. Please check the logs for more details.
So I can't debug the ios app.
I don't know how to do next.
4 Answers
So I ran into this problem. It was driving me nuts.
My problem was that I was using the Mac just to be able to launch the app. Otherwise, it was just sitting idle. What turned out to be the problem was that the 'Energy Saver' settings on my mac was set with 'Put hard disks to sleep when possible' checked. That was the reason for the failure in my case. It is also probably better to check 'Wake for network access'.
Jay JacobsJay JacobsI solved this problem by updated Xamarin.iOS version same as the Visual Studio of.Then I succeed to run my App in the Mac.Thank all the people focused my question.
I constantly have issues with Xamarin Mac Agent and Visual Studio running on Parallels (Currently why i'm here). However, sometimes following the troubleshooting steps in this guide helps, however, not always.
I suspect my issue lies deeper - yours could possibly aid from this link.
Aiden StrydomAiden StrydomSo if anyone stumbles on this there are a couple things to try.
There are of course the three R's Restart Reboot and Reinstall.
Restart Visual Studio and xcode.Reboot all pc's involved, The Build agents sometimes get into funky states and rebooting clears them all out and lets you start freshFor good measure reboot your router while your at it and make sure your IP addresses are what you assume they are.
Then UpdateReinstall. If the xcode on your mac got updated you may need an Xamarin update in VS in order to make the connection or Xamarin Studio Update on the Mac.
Open all threeXcode, Xamarin Studio on the Mac and VisualStudio and make sure all 3 are updated.While your in Xcode go ahead and create a new project and run it. See if the simulator comes up from within XCode or if you get prompts to accept licenses etc.
It may be necessary to reinstall Xcode if the update doesn't fix it or doesn't update.
Office For Mac + Torrent
After all that if it still doesn't work you can put your toes in the water and your A$$3 in the sand with a PBR on a beach in Mexico. That fixes everything.
Android For Visual Studio
Not the answer you're looking for? Browse other questions tagged iosvisual-studioxamarinxamarin.iosxamarin.forms or ask your own question.
Visual Studio For Mac + Android App Simulator For Windows
I've got a Xamarin Forms solution with iOS and Android projects. The iOS side was working, I switched over and did a bunch of work on the Android side. Now I need to do some more iOS stuff (push notifications) and I can't get the iOS Simulator to kick in. Xcode is installed, VS says it can see the SDK. I can open the simulator from XC but inside VS no matter what Debug combination of the .iOS project I select all I get is 'Generic Simulator'. Any ideas?
1 Answer
See the answer in the comment provided by @lowleetak:
Android App Visual Studio 2017
Is the minimum supported version in Info.plist less than or equal to the version of iOS Simulator that you have?
This was the issue. The project settings listed 10.2 as the target SDK but the info.plist file had 10.3 which wasn't installed on the machine via Xcode. The machine has Xcode 8.2.1 and iOS 10.2 installed.
Additionally there's now a bug opened about this behavior. If the two fields are going to allow different values there should at least be a warning next to them about the mismatch.