Get started with iOS 13
This document describes how to start building Xamarin apps that call APIs released with Xcode 11, for iOS 13. Using the preview requires macOS 10.14.4 (Mojave) or newer.
Download and install
Install Xcode 11 beta – Registered Apple developers can download and install the latest version of the Xcode 11 beta from the Apple Developer Portal or the App Store.
Run Xcode 11 beta – Run Xcode 11 before updating and running Visual Studio for Mac, as it installs some tools that Xamarin requires.
In Visual Studio for Mac, select Visual Studio > Check for Updates..., select the Xcode 11 Previews channel, and install the available updates.
In Visual Studio for Mac, select Visual Studio > Preferences > Projects > SDK Locations > Apple and select Xcode-beta.app.
(Optional) If evaluating this preview using Xcode 11 beta 3, you must enable linking. Right-click your project, navigate to Options > iOS Build > Linker behavior and set the linker behavior value to Link Framework SDKs Only. This workaround will not be necessary in a future preview.
(Optional) Install iOS 13 on your iOS devices – For device testing of apps that use APIs introduced with the Xcode 11, registered Apple developers can download and install the operating system on their devices. Because iOS is in beta, be careful installing it on your primary device.
Even if your app does not use any new APIs, be sure to build it with the newest Xcode 11 SDKs and test it to make sure that everything works as expected. If an app doesn't call any new APIs, you can recompile it with these new SDKs and test it on devices that have not yet been upgraded to the new operating system.
Before upgrading your devices to the latest operating system releases from Apple to test your Xamarin apps, be sure to:
- Read Apple's release notes for the operating system updates.