Bug 58417 - Xamarin is not launching iOS simulator with xCode9-Beta as SDK
Summary: Xamarin is not launching iOS simulator with xCode9-Beta as SDK
Alias: None
Product: iOS
Classification: Xamarin
Component: Tools ()
Version: XI 10.99 (xcode9)
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2017-07-26 19:10 UTC by Sridhar
Modified: 2017-09-28 09:15 UTC (History)
9 users (show)

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

Console log (55.85 KB, image/png)
2017-07-26 19:10 UTC, Sridhar

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 Sridhar 2017-07-26 19:10:52 UTC
Created attachment 23825 [details]
Console log

Step to replicate

Download xCode9 Beta and install Xcode-Beta

Goto Xamarin-Preferences ->SDKLocations(Apple)->Select new xCode-Beta as SDK.

Now goto project and select any simulator  and run .

Application is building fine, But not able to launch simulator. Application Console is showing following error message.

"error HE0003: Could not load the framework 'CoreSimulator' (path: /Applications/Xcode-beta.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator.framework/CoreSimulator): not found."

I tried running running xcode-Beta with Xamarin Stable,Beta and Alpha channels .But no luck.
Comment 1 Sebastien Pouliot 2017-07-26 19:21:56 UTC
Support for Xcode 9 betas is only available from our web previews, see:

Comment 2 Nathan Stryker 2017-07-26 19:58:50 UTC
Sebastian - 

Does that mean that starting with Xcode 9 Xamarin Studio will no longer be supported and we will need to switch our development efforts over to VS or that the beta channels are only supposed on VS ?
Comment 3 Brendan Zagaeski (Xamarin Team, assistant) 2017-07-26 23:08:16 UTC
For Comment 2, IDE compatibility with Xcode 9 does require Visual Studio for Mac, if that helps answer the question.  Note that Xamarin Studio development concluded with version Xamarin Studio 6.3 [1], and that version was released before the first Xcode 9 previews from Apple.

Another bit of information that might help is that Xcode 9 compatibility will also be included on the updater channels in the future, but the timing for that will depend in part on the schedule of the upstream releases from Apple.

[1] https://developer.xamarin.com/releases/studio/xamarin.studio_6.3/xamarin.studio_6.3/

> Xamarin Studio 6.3 is the final release of Xamarin Studio. We recommend that
> developers now use Visual Studio on both Windows and Mac. Visual Studio for
> Mac has all the features of Xamarin Studio, adds cloud and web development,
> and contains improvements for cross-platform mobile development.

[2] https://releases.xamarin.com/stable-release-xamarin-ios-support-for-ios-9-xcode-7-final/
Comment 4 Matt Cuda 2017-09-20 18:31:45 UTC
I have the same problem with Visual Studio for Mac.
Comment 5 Dustin 2017-09-20 20:01:54 UTC
I am still having this issue vs mac 7.2 build 583. Unresolved.
Comment 6 Brendan Zagaeski (Xamarin Team, assistant) 2017-09-20 20:23:46 UTC
> vs mac 7.2 build 583

The Beta updater channel for Visual Studio for Mac has not yet been updated for Xcode 9 compatibility.  Xcode 9 compatibility is currently only included in Visual Studio for Mac on the Stable updater channel.
Comment 7 Dustin 2017-09-20 20:38:16 UTC
mmm good call. I suppose I figured beta would be even more up to date. Thank you!
Comment 8 kwongfu 2017-09-22 13:17:58 UTC
I'm running VS for Mac and am still getting this error.  I'm running Xcode Version 9.0 (9A235).  The only folder I see in /Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks is SimulatorKit.framework.
Comment 9 Brendan Zagaeski (Xamarin Team, assistant) 2017-09-22 17:47:22 UTC
> The only folder I see in
> /Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks
> is SimulatorKit.framework.

That should be OK in theory.  I also only have SimulatorKit.framework at that location, and the iOS 11 simulators launch successfully for me using Xcode Version 9.0 (9A235), Visual Studio for Mac, Xamarin.iOS, and macOS 10.12.6.

As one little cross-reference, one other user mentioned that a number of users have reported some issues with the new iOS simulators when working directly in Xcode 9 (with no Xamarin involvement).

## Next steps

For any user still seeing this issue after updating to Xcode 9 final from Apple plus the latest Stable channel Visual Studio for Mac and Xamarin versions (and Visual Studio 2017 version 15.3.5 or higher on Windows for Visual Studio 2017 users), please create a new bug report that includes your complete version information:

- "Visual Studio > About Visual Studio > Show Details > Copy Information" on Mac (include this even if you are using Xamarin on Windows)
- And "Help > About Microsoft Visual Studio > Copy Info" on Windows, if you are using Windows.

Thanks in advance!