Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
$ /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mtouch -sdkroot /Applications/Xcode8.app --listsim=/Users/sandy/ls.txt
error HE0004: Could not load the framework 'IDEFoundation' (path: /Applications/Xcode8.app/Contents/Frameworks/IDEFoundation.framework/IDEFoundation): dlopen(/Applications/Xcode8.app/Contents/Frameworks/IDEFoundation.framework/IDEFoundation, 1): Library not loaded: @rpath/DVTAnalytics.framework/Versions/A/DVTAnalytics
Referenced from: /Applications/Xcode8.app/Contents/Frameworks/IDEFoundation.framework/IDEFoundation
Reason: image not found
If I call mlaunch directly, it works:
$ /Applications/Xamarin\ Studio.app/Contents/Resources/lib/monodevelop/AddIns/MonoDevelop.IPhone/mlaunch.app/Contents/MacOS/mlaunch -sdkroot /Applications/Xcode8.app --listsim=/Users/sandy/ls.txt
Simulator configuration written to /Users/sandy/ls.txt
=== Xamarin Studio Enterprise ===
Version 6.1 (build 5441)
Installation UUID: c8e0a9c3-4244-40de-9072-735d18850e7f
Mono 4.6.0 (mono-4.6.0-branch/746756c) (64-bit)
GTK+ 2.24.23 (Raleigh theme)
Package version: 406000245
=== NuGet ===
=== Xamarin.Profiler ===
=== Apple Developer Tools ===
Xcode 8.0 (11246)
=== Xamarin.iOS ===
Version: 220.127.116.11 (Xamarin Enterprise)
Build date: 2016-03-09 11:44:54-0500
=== Xamarin.Android ===
Version: 18.104.22.168 (Xamarin Enterprise)
Android SDK: /Users/sandy/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
2.3 (API level 10)
4.0.3 (API level 15)
4.2 (API level 17)
4.4 (API level 19)
5.0 (API level 21)
6.0 (API level 23)
SDK Tools Version: 24.4.1
SDK Platform Tools Version: 23.1
SDK Build Tools Version: 20.0.0
Java SDK: /usr
java version "1.8.0_20"
Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)
Android Designer EPL code available here:
=== Xamarin Android Player ===
Location: /Applications/Xamarin Android Player.app
=== Xamarin.Mac ===
Version: 22.214.171.124 (Xamarin Enterprise)
=== Xamarin Inspector ===
Build date: Wed, 21 Sep 2016 20:23:00 GMT
=== Build Information ===
Release ID: 601005441
Git revision: 68292d1ab289911c815ddc715dd7cc29a9752f9f
Build date: 2016-09-09 04:43:23-04
Xamarin addins: ed25d008672663eeb9db55f1ccecb3c24d2fd3b2
Build lane: monodevelop-lion-cycle8
=== Operating System ===
Mac OS X 10.11.6
Darwin Sandys-5k-iMac.local 15.6.0 Darwin Kernel Version 15.6.0
Mon Aug 29 20:21:34 PDT 2016
=== Enabled user installed addins ===
Addin Maker 1.3.2
Xamarin Inspector 0.10.0.420
Unsurprisingly, mtouch -launchsim also produces the same crash (and mlaunch -launchsim is fine).
Do you have a /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mlaunch binary, or MLAUNCH_PATH set to something else?
I think this is because mtouch is somehow finding an old version of mlaunch, not the one shipped with XS.
Nope, no other mlaunch that I can see. MLAUNCH_PATH is unset.
I'm looking at this version info again and I think something went wrong with my upgrade on this system. That Xamarin.iOS is way too old.
Can't reproduce this bug on my main system.
Sorry for the noise. Confirmed that my upgrade went bad somehow, and after actually upgrading Xamarin.iOS, all is fine.