How to add UIKit to an Xcode project?

2 Solutions Collect From Internet About “How to add UIKit to an Xcode project?”

Navigate to the target and go to Build Phases and add UIKit to Link Binary With Libraries.

From the Comments to this post:

MonkeyBusiness: Sorry to waste your time. I had set the project up as MacOS rather than iOS. I’m new to Apple and iOS as you can see.

Check that you are using a iOS project and not a Mac OSX one – UIKit is only for the iPhone/iPad