Bug 8166 - Could not find developer tools for this device
Summary: Could not find developer tools for this device
Alias: None
Product: iOS
Classification: Xamarin
Component: Tools ()
Version: 6.0.x
Hardware: Macintosh Mac OS
: --- blocker
Target Milestone: Untriaged
Assignee: Bugzilla
: 8170 8181 8189 8210 ()
Depends on:
Reported: 2012-11-01 23:04 UTC by Dele Olowoyo
Modified: 2012-11-06 04:03 UTC (History)
9 users (show)

Is this bug a regression?: ---
Last known good build:

Contents of the DeviceSupport folder (116.85 KB, image/png)
2012-11-02 10:38 UTC, Dele Olowoyo

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Dele Olowoyo 2012-11-01 23:04:08 UTC
Please ensure your device is connected...
Connected to: McKesson iPad
error MT0000: Unexpected error - Please file a bug report at http://bugzilla.xamarin.com
System.Exception: Could not find developer tools for this device. Please connect this device to Xcode to install the development support files.
  at MonoTouch.Installation.Device.MountDeveloperImage () [0x00000] in <filename unknown>:0 
  at MonoTouch.Installation.Installer.KillApplication (MonoTouch.Installation.Device d, System.String appId) [0x00000] in <filename unknown>:0 
  at MonoTouch.Installation.Installer+<KillApplication>c__AnonStorey7.<>m__8 (MonoTouch.Installation.Device d) [0x00000] in <filename unknown>:0
Comment 1 Fleischer 2012-11-02 05:29:18 UTC
I have the same problem.
After upgrading my IPhone to iOS 6.0.1 debbuging doesn't work anymore.

I already updated XCode to latest Version 4.5.2 and there the debugging works.

Monotouch 6.0.4
Xcode: 4.5.2
Mac OS: 10.7.5
Comment 2 David Hoffmann 2012-11-02 07:22:20 UTC
I updated to IOS 6.0.1 and XCode 4.5.2 and it doesn't work.
Comment 3 Dele Olowoyo 2012-11-02 07:51:14 UTC
There seems to be a recurring theme.  I started having problems when I updated to iOS 6.0.1 too.
Comment 4 Chris Hardy [MSFT] 2012-11-02 07:55:57 UTC
*** Bug 8170 has been marked as a duplicate of this bug. ***
Comment 5 Rolf Bjarne Kvinge [MSFT] 2012-11-02 08:18:33 UTC
Here is a workaround:

sudo ln -s "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/6.0 (10A403)" "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/6.0.1"

If your Xcode is not in /Applications/Xcode.app, you'll have to make the corresponding changes.
Comment 6 David Hoffmann 2012-11-02 08:38:48 UTC
That works for me.
Thank you!
Comment 7 Sebastien Pouliot 2012-11-02 09:17:08 UTC
Fixed in:
master: 3ffaa3f04263c509ccf1b686dd67965a8a342cb2
ios6: a86a50c1b9aa63d960358495257090c6825679a5

QA: use a 6.0.1 device with Xcode 4.5[.x] to test/confirm this
Comment 8 Dele Olowoyo 2012-11-02 10:18:16 UTC
It's not working for me.  still getting the same error it seems.
Comment 9 Sebastien Pouliot 2012-11-02 10:31:04 UTC
Dele, show us the content of your
directory and also provide us with all your version numbers.
Comment 10 Dele Olowoyo 2012-11-02 10:38:08 UTC
Created attachment 2841 [details]
Contents of the DeviceSupport folder
Comment 11 Dele Olowoyo 2012-11-02 10:39:04 UTC
Here is my version info, and I also attached a screenshot of my terminal screen with the contents of the DeviceSupport folder as requested.

Installation UUID: f7564be4-cd70-41cb-9eee-7c9b8c97ad36
	Mono 2.10.9 (tarball)
	GTK 2.24.10
	GTK# (
	Package version: 210090011
Apple Developer Tools:
	 Xcode 4.5.2 (1847)
	 Build 4G2008a
Monotouch: 6.0.5
Comment 12 Sebastien Pouliot 2012-11-02 10:50:57 UTC
uho, why did you remove "6.0 (10A403)" ?!? 
That was where Apple put the .dmg that you must symlink to.
Comment 13 Dele Olowoyo 2012-11-02 10:53:19 UTC
i initially had it in there, but your solution still didn't work.

So i thought it was some kind of character encoding that showed up in the comment with the workaround.

Do i just need to re-create the folder?
Comment 14 Sebastien Pouliot 2012-11-02 10:58:50 UTC
That folder contained Apple Xcode files required for deploying to devices. You'll need to reinstall Xcode to get them back (unless you have a backup/time machine).

The workaround from comment #5 created a new symlink to that (Apple provided) directory.
Comment 15 Dele Olowoyo 2012-11-02 11:00:55 UTC
Just great.
Comment 16 Dele Olowoyo 2012-11-02 11:03:18 UTC
once i re-install XCode, should things just start working then?
Comment 17 Dele Olowoyo 2012-11-02 12:03:26 UTC
Looks like things are finally working after re-installing XCode and rerunning the script from Comment#5.
Comment 18 Sebastien Pouliot 2012-11-02 13:11:58 UTC
great :)
Comment 19 Rolf Bjarne Kvinge [MSFT] 2012-11-02 13:40:50 UTC
*** Bug 8181 has been marked as a duplicate of this bug. ***
Comment 20 Rolf Bjarne Kvinge [MSFT] 2012-11-02 18:48:43 UTC
*** Bug 8189 has been marked as a duplicate of this bug. ***
Comment 21 Chris Hardy [MSFT] 2012-11-04 10:36:35 UTC
This issue is resolved in MonoTouch 6.0.6 which is currently in the Beta channel.
Comment 22 Rolf Bjarne Kvinge [MSFT] 2012-11-05 05:25:38 UTC
*** Bug 8210 has been marked as a duplicate of this bug. ***
Comment 23 bard.mannseth 2012-11-05 14:50:17 UTC
Thank you for your answer, but as I am new to Mac I am unsure what to do with this sudo stuff. Is the lines:
sudo ln -s

supposed to be pasted into terminal and run? (all at once) Is that@s all there is to it?


Comment 24 Rolf Bjarne Kvinge [MSFT] 2012-11-06 04:03:24 UTC
Bård, the easiest is to install the 6.0.6 beta - but if you want to do the sudo command: yes, you're supposed to paste it all as one line into terminal.