loly sa
loly sa

Reputation: 91

error: Build input file cannot be found: LaunchScreen.storyboard and Main.storyboard in Xcode

I opened this project for the first time in my Mac and when I try to build it, it gives me these tow errors you can see in the screenshots. I have these file already in the project, I think I only need to set the path for them. what do you do when you open a project for the first time in you machine? a screen shot for the errors

Upvotes: 2

Views: 9575

Answers (3)

Imran Ali Khan
Imran Ali Khan

Reputation: 51

In my case there are xml extension was added in my LaunchScreen.storyboard and Main.storyboard so I just removed .XML from these file and it worked

Upvotes: 0

loly sa
loly sa

Reputation: 91

The build was successful after I did the fowling: 1- remove the tow files(LaunchScreen.storyboard and Main.storyboard)and add them again, this is post where I got the solution from https://github.com/react-native-community/upgrade-support/issues/99

2- rename the new files and delete .xml at the end

3- select the LaunchScreen as the Main interface https://i.sstatic.net/65P0S.png

Upvotes: 6

Rithik
Rithik

Reputation: 11

I think maybe you have deleted the file LaunchScreen.storyboard. Once check your files.

Upvotes: 0

Related Questions