Here is the Apple Support download link for MacOS installs, scroll down the page and click " load more results" button until you find the needed MacOS version (Sierra, El capitan, whatever). You can download any older official MacOS version installations freely from Apple Support, and install the downloaded DMG image right on VMWare, very easy. The good news is that Apple MacOS license permits you to create any VM and reinstall older MacOS/OSX versions inside the current version, and use both the older and the current simultaneously. ![]() You can do it with VM Ware Fusion for MacOS. ![]() Use it to compile or migrate your code to current/newer Xcode syntax, or keep working on it using the older Xcode directly inside the VM on your current MacOS Mojave machine. The below methods need to be updated: func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.In short, you can't install too older Xcode versions on the current MacOS versions, you can only install the most recent Xcode versions.īut you need Xcode 8 (and I think it runs on El Capitan).Ĭonsidering you must use an older Xcode which cannot be installed on your current system ( I have the same situation, which you posted the Xcode Swift3 message), the easier solution is to install an older MacOS version inside a Virtual Machine on your current macOS, and install the older Xcode on it.Įg: If you use Mojave, create a virtual machine of El Capitan and install the older Xcode 8 on it. There are two methods in the AppDelegate that need to be fixed. Now that we know how we fixed the SceneDelegate, we can apply the same fix to AppDelegate. If we build the app after adding this we can see that we only have 6 more errors! Step 2: Update AppDelegate.swift All we need to do here is add iOS 13.0, *) before the class declaration.Īdd the available attribute to the SceneDelegate class like below: 13.0, *)Ĭlass SceneDelegate: UIResponder, UIWindowSceneDelegate The first and most obvious file that we need to look at is SceneDelegate.swift. So, the fix is quite simple, all UIScene code needs to be updated so that it is only available for iOS 13. It confused me for a few minutes, but when I looked at the errors everything seemed to be related to UIScene in some form or another.Īnything below iOS 13 cannot use UIScene because it is only available for iOS 13 and newer. Given the title of the article, I am assuming you have this issue too. ![]() When I tried to run the app I was greeted with a bunch of wonderful errors which you can see below: Recently I created an empty project that I wanted to get it running on iOS 11, but, because the app was created with Xcode 11, I had to go into the General settings and change my deployment target from iOS 13 down to iOS 11. In this tutorial I will show you how you can get your app that was created with Xcode 11 to run on iOS 12 and lower. ![]() There are a few changes that need to be made in order to get your app to work on the older versions of iOS. Creating an app with Xcode 11 has a little bit of a hidden issue, it does not allow you to run the app on iOS 12 or lower out of the box.
0 Comments
Leave a Reply. |