Group Group Group Group Group Group Group Group Group

Not able to import Foundation in my SwiftUI Project

i am trying to import the Foundation but unfortunately its not showing in my Xcode 12.0.1

Hi @vj0311,
Let me try at my end, it is strange, I found some other kind of issues where Storyboard would crash in a brand new blank project (Objective-C) if I created a button and an IBAction. I think Xcode 11 was quite stable, however let’s see the next release - as the focus is mainly on SwiftUI

Hi @vj0311, I believe it should work if you update Xcode to the next version which would be 12.1 (Released on Oct 20th). I tested it out by creating a new SwiftUI project and adding Foundation in the ContentView file. Ran it and it built successfully. Seems like it could have been a bug in 12.0.1?

Best,
Gina