Hi, Alex here from rebeloper.com. Welcome back to the channel
and welcome back to this quick fixing tutorial where you will learn how to fix
the missing info.plist file error. So if you want to fix this error go ahead and
subscribe to the channel and open up Xcode so let us just drive it. So let's
just fix this error of the missing plist file. So what I'm going to do here is
just create a brand new Xcode project Click a new Xcode here and a single
view application. Let's click on next here and I will name this, let me just resize
this so you can see it better. I will name this missing plist and it is
an info plist. So info plist and maybe add this here fix, okay. So I will use
SwiftUI but this also makes sense in a storyboard environment so let's click on
next here and let's just drag and drop it onto the desktop it doesn't really
matter. I will create a github repository so you
can check out go ahead and click the link down below in the resources to find
out where you can download all of the resources for my tutorials. So let's just
resize this so you can see a little bit better here what I'm doing, there we go.
So what is basically, let me just remove this canvas I really don't like this here.
So here we have our info.plist file and it's all nice and dandy. But what if
you delete it or maybe just add it to another group. So let's create a group
here and I am going to call this main. I like to have all of my main files on the
main group and I usually drag and drop the info.plist, the app delegate and
the scene delegate but for this tutorial let's just move only the info.plist file
and as you can see now we have some errors. This version, build is missing,
the main interface. Something's not really working here and if we would just
build and run we would have an error and it is well it's not that explicative
build input file cannot be found basically it's saying that this missing
info.plist fix slash info dot plist is missing. It take it just can't be fixed.
Now in earlier version of Xcode you would just select your project and then
your target and go to general and here you would have a button like fix or find
the missing info.plist file. I have a separate video on that too. But now it's
missing, something's wrong here. Now this might be a bug in
Xcode 11 but all you have to do is just close off Xcode and just restart it.
So I'm just going to quit all together here and then restart my project. Let's go to
our desktop and open up missing info.plist file fix and just double click
on the project there. Now if you go to the same place you will see that choose
info.plist file has appeared. How awesomeis that.
So let's choose that and as you can see it's in the main group.
Let's choose it and now everything should be okay. To have our bundle ID
and so one appear let's just step away from the general and tap back in.
There we go. It's everything is missing by the way in signing and capabilities, you just
need to select our team, there we go and the signing certificate and provisioning
profile will be created for us, okay. Back to the general, everything is okay.
We do know our info.plist file is here. So let's finally build and run and as you can see
build has succeeded and we have our hello world should be generating.
There we go. Hello world and there you have it. Fixing the missing info.plist file issue.
Now you know how to fix your missing info.plist file error. Now I want
you to hiy that notification bell because in my next video I will go live
and teach you all about fire bases remote config. So make sure to hit that
notification bell to get notified when that video will go live. In the meantime
make sure to check out the two videos that I have over here. I talk a
lot about SwiftUI and iOS development and as usual I will see you in the next one.