4

The new Xcode project does not have any main.storyboard file in the showing the project please help with this problem.

img

1 Answer 1

9

You have SwiftUI enabled in your project, which does not use storyboards anymore.

Your layout is inside the ContentView.swift file.

If you do want to work the old way, with storyboards, you should uncheck 'Use SwiftUI' in the project creation screen.

From RayWenderlich (Image is from this article. Which is a good place to get started.)

Sign up to request clarification or add additional context in comments.

2 Comments

What should I do to get the main.storyboard?
Since your project is still empyt, it's easiest to start a new project. When you get to the screen in the image from my answer, uncheck the checkbox outlined in red

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.