The below methods need to be updated: func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene. 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. I have tried googling for this but I cannot find any answers. I dont know if this is a bug with Xcode, a bug with VoiceOver or if this option is just now gone. Given the title of the article, I am assuming you have this issue too. There is no single view app that I can find in the template chooser in Xcode 12 beta. 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. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |