WWDC24 SALE: Save 50% on all my Swift books and bundles! >>

UIKit isn't supported by Visual Studios Code, how to I fix that.

Forums > iOS

I am doing this on windows 10, so apparently I had to use Visual Studios to do so, when I put import UIKit it says, I cant seems to find the problem, please and thank you! c:\Swift\bin\tempCodeRunnerFile.swift:1:8: error: no such module 'UIKit' import UIKit ^

4      

It doesn't really help to create multiple threads for the same question. If you have additional information to add to your original question, just edit it in rather than creating a new thread.

That said, I'm betting most—if not all—of the people on this forum use Xcode on a Mac to do their Swift programming. You might have more luck with this question at a Visual Studio forum since it's not actually a Swift problem.

3      

Have you found any solution for this issue. Because I am also facing the same issue. As we are using visual studio and we can stop using it because visual studio is also important for different purposes and working for best laptop for autocad business and while importing UI Kit its showing issues. So kindly if you have found any solution then share with us so we could also fix our issue.

3      

Save 50% in my WWDC sale.

SAVE 50% To celebrate WWDC24, all our books and bundles are half price, so you can take your Swift knowledge further without spending big! Get the Swift Power Pack to build your iOS career faster, get the Swift Platform Pack to builds apps for macOS, watchOS, and beyond, or get the Swift Plus Pack to learn advanced design patterns, testing skills, and more.

Save 50% on all our books and bundles!

Archived topic

This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.