Re: Xcode7 "no module named 'UIKit'?
Re: Xcode7 "no module named 'UIKit'?
- Subject: Re: Xcode7 "no module named 'UIKit'?
- From: Quincey Morris <email@hidden>
- Date: Sat, 29 Aug 2015 18:56:08 +0000
On Aug 29, 2015, at 11:43 , Alex Hall <email@hidden> wrote:
Building fails, with the "no module named UIKit" error appearing to be the only error other than some position ambiguities. It's a Swift project made from the standard Cocoa application template for OS X.
Well, that’s a clue, isn’t it? There is no UIKit for OS X. Your original message said that UIKit wasn’t misspelled, so I assume the file has an “import UIKit”, which shouldn’t happen for an OS X app.
When you create a new class, are you maybe choosing the Class template from the iOS portion of the list rather than the OS X part?
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden