Preview: Xcode 9 GM, iOS 11 Support – Preview 9

Today we are releasing the following builds as Xcode 9 Web Preview 9. These versions include preview Xamarin SDK bindings and preview IDE compatibility for Apple’s Xcode 9 GM seed.

Note that these are standalone download links that are not yet published in the Xamarin updater channels. As a result, Visual Studio for Mac will offer “updates” back to the current published updater channel versions when you have these versions installed. You will need to disregard those notifications if you wish to keep using these Xcode 9 support previews. The Xcode 9 features will be added to the Xamarin updater channels in the future, after Apple publishes the first non-preview version of Xcode 9 to the App Store.

Any bug reports about these preview Xamarin bindings are much appreciated!

Products Released

Preview IDE compatibility packages for Mac and Visual Studio 2017

  • Visual Studio for Mac
  • Download
  • Visual Studio Tools for Xamarin
  • Download (34 KB) for Visual Studio 2017
  • Download for Visual Studio 2015
  • iOS Simulator on Windows
  • Download

Note: Updated IDE compatibility packages for Visual Studio on Windows are also in-progress. This post will be updated when they are available. The previous IDE compatibility packages for Windows do not yet include adjustments for the Xcode 9 GM seed.

Update for September 14: The Xcode 9 GM seed IDE compatibility package for Visual Studio 2017 is now available above. This post will be updated again when the IDE compatibility package for Visual Studio 2015 is available.

Update for September 15: The IDE compatibility package for Visual Studio 2015 is now available.

Installing on Mac

  1. Ensure you are up-to-date with the current Xamarin Stable channel versions.
  2. Ensure you have the Xcode 9 GM version installed from Apple. You can optionally install this GM version alongside Xcode 8.
  3. Download the Xamarin.iOS installer .pkg file and run it.
  4. Download the Visual Studio for Mac .dmg file, open it, and copy the .app bundle to a desired install location. For example, you can optionally add this preview version alongside the Stable version of Visual Studio for Mac by copying the .app bundle to a temporary location, renaming it, and then copying it to your Applications directory.

Uninstall steps

Navigate to Visual Studio > Check for Updates, and install the current Xamarin.iOS and Visual Studio for Mac versions from the Stable updater channel.

Installing IDE compatibility for Visual Studio 2017 version 15.3.4

  1. Ensure that Visual Studio 2017 is up-to-date at version 15.3.4 and has the Mobile development with .NET workload installed.
  2. Download the combined IDE compatibility .vsix file. If your web browser saves the file with a .zip extension, rename it back to .vsix after download.
  3. Double-click the .vsix file to launch the VSIX Installer.
  4. Be sure to select only your non-preview instance of Visual Studio 2017 when prompted. (This .vsix package is based on the Xamarin 15.3.4 release, so it is not fully compatible with Visual Studio 2017 version 15.4 Preview.)
  5. Click Install, and wait for the VSIX Installer to download and install the components.

Uninstall steps

If you wish to switch back from the Xcode 9 support previews to the default Xamarin versions bundled in Visual Studio 2017 version 15.3.4:

  1. Navigate to Tools > Extensions and Updates >  Installed.
  2. Locate the Visual Studio Tools for Xamarin (Alpha) item.
  3. Click the Uninstall button.
  4. Close Visual Studio 2017 to allow the VSIX Installer to launch and complete the uninstall process.

Installing IDE compatibility for Visual Studio 2015

Download and run the Xamarin.VisualStudio .msi installer package.

Uninstall steps

Navigate to Tools > Options > Xamarin > Other > Check Now, and install the current Xamarin version from the Stable updater channel.

Known Issues

There are at least a couple of known changes between the previous Xcode 9 beta and the Xcode 9 GM seed that are not yet resolved in this preview:

  • [Visual Studio for Mac, Xamarin.iOS] – iOS simulators do not start as expected after the user launches an app on one simulator and then switches to deploy to a different simulator.
    • Possible temporary workaround:  Close and reopen the solution or quit and reopen Visual Studio for Mac.
  • [Visual Studio for Mac, Xamarin.iOS] – “Invalid Image Asset” and “Missing Image Asset” when attempting to submit tvOS apps to App Store.
    • Possible temporary workaround: Manually edit the asset catalog in a text editor to add the entries for the new required image assets.

Xamarin.Mac previews for macOS 10.13 beta 9

Since macOS 10.13 itself is still in beta rather than GM at this time, if you would like to try the preview macOS 10.13 APIs in Xamarin.Mac, please see: