lufizi
lufizi

Reputation: 403

Xcode says that file doesn't exist

I'm working with this project but everytime I try to build, xcode says that can't find Mainstoryboard because the file doesn't exist, but it exists.

I read a lot of things saying that the folder/file structure that I can see its not the same that xcode uses, but I don't know how to fix this.

Upvotes: 1

Views: 3832

Answers (2)

Yuri
Yuri

Reputation: 133

Click your Project -> Build Phases -> Copy Bundle Resources, To check out The Main.storyboard is exist wheathor or not enter image description here

if not,add the Main.storyboard enter image description here

Upvotes: 0

mfaani
mfaani

Reputation: 36257

Click on your project >> General tabs >> development info and make sure our storyboard's name is same as what you have in the main interface. If the name is main.Storyboard then you should type "main" in the Main Interface.

enter image description here

Upvotes: 1

Related Questions