Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No devices attached in xamarin VisualStudio for ios

Tags:

I'm having real trouble when I try to use the IOS emulator from the visual studio. So I created a hello world app in VS using xamarin (latest stable version), I set the project as main project, and When I refresh the connexion with the mac, I can't select the device that should be shown in the selectList. The message is "No device attached" :

error-picture

And if I try to use xamarin studio on the host mac, all is okay, the sample app builds on the iphone emulator:

on mac host

Thanks to help me !

like image 342
clement Avatar asked Apr 08 '13 20:04

clement


People also ask

Can Xamarin be used for iOS?

Xamarin. iOS allows developers to create native iOS applications using the same UI controls that are available in Objective-C and Xcode, except with the flexibility and elegance of a modern language (C#), the power of the .

How do I publish iOS apps in Xamarin?

Go to the Certificates, IDs & Profiles section, and then to the Profiles section. Click the + button, select iOS App Development and App Store, and click Continue. Select your app's App ID from the list and click Continue. Select a signing certificate and click Continue.


2 Answers

I know this question has already been answered, but i found it when i had a problem, and it did not help... but i did find the solution:

Under the debugging menu in VS2012, click on Configuration Manager

Configuration Manager Menu

make sure that iPhone Simulator (or iPad, if you want) is set...

enter image description here

Default seems to be looking for a physical device...

hope this helps.

like image 110
TiernanO Avatar answered Sep 20 '22 09:09

TiernanO


Are you sure the device is connected to the Mac and not the Windows machine? Have you tried debugging from that same device from Xamarin Studio on the Mac?

like image 35
valdetero Avatar answered Sep 20 '22 09:09

valdetero