When trying to import UIKit into Vapor to run an app on My Mac I receive this message:
UIKit is not available when building for macOS. Consider using #if !os(macOS) to conditionally import this framework.
Any ideas on how to fix this? is importing UIKit into Vapor possible? If not, do you know how I can get around this problem?
Thanks.
UIKit is not available when building for macOS. Consider using #if !os(macOS) to conditionally import this framework.
Any ideas on how to fix this? is importing UIKit into Vapor possible? If not, do you know how I can get around this problem?
Thanks.