Saturday, May 9, 2020

Xcode Project Settings

Some of you are turning in projects that I cannot run. Because in the classroom we are using Xcode 11.2.1, it does not understand iOS 13. So you have to set your target to iOS 12. When you do this, you may get some errors that you can fix. So here are some guidelines:
  • When you create a new project, remember do NOT use SwiftUI. Make sure to select Storyboard instead. 
  • Set your target to iOS 12.4 at the latest. Do not use iOS 13.
  • After you change your target to iOS 12.4, you'll get a bunch (around 11) errors having to do with Scenes. iOS 12 does not support Scenes. So you can run the "Fix" on each error. If you run "Fix" on the methods, you'll have to do 11 fixes. But if you run "Fix" on the classes, there are only 3 classes that you'll have to fix.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.