Where do you select the UIKit in Xcode

I have an old project that has errors with the latest cocopods because it references UI functions that have changed.

Where do you configure the project to point to the correct UIKit.

In third party code (from github) and my cocopods I am getting hundreds of errors like:

UITableViewRowAnimation has been renamed to UITableView.RowAnimation.

I have noticed two versions of the UI, one with syntax like https://developer.apple.com/documentation/uikit/uitableview/rowanimation and one with syntax like https://developer.apple.com/documentation/uikit/uitableviewrowanimation?language=objc

How do I change my project to use the ealier verion of UIKit

Where do you configure the project to point to the correct UIKit.

If I understand correctly your question, you cannot. That's depending on Xcode version and the iOS SDK that goes with it.

Note: using an older Xcode could temporarily solve the problem. But that would forbid you to publish on the AppStore. So that's not a solution.

.

UITableViewRowAnimation has been renamed to UITableView.RowAnimation

You have to go through and accept the changes, even if there are hundreds of them (but you will do it only once to update to more recent Xcode).

.

I have noticed two versions of the UI

No, that's the same "version", but one for Swift and the other for objC.

Where do you select the UIKit in Xcode
 
 
Q