How to find info.plist file in Xcode 13 and Newer in SwiftUI project
I generally don’t write tutorials other than coding. But this is an issue that must be talked about.
In this tutorial, I am going to show you how to find the info.plist file in Xcode 13 as well as newer versions like 14.
In previous versions, once we were creating a new project, Xcode was creating all the files automatically.
Now in the newer versions, Xcode is doing the same, but the difference is that a few files are missing now. For example SceneDelegate.swift
and info.plist
.
You can get these files in UIKit project but not in SwiftUI project.
How to locate or find the info.plist in Xcode
Just follow these steps:
- Open your project in Xcode.
- In the project navigator click on the App name (Root App name)
- Click on Targets.
- Now click on the info from the options available in the top bar.
- Now add a new row by clicking on any + symbol.
- It will add the info.plist file in your project files section.
Now I know it’s quite difficult to follow these steps with text so I have took screenshots of each step as well as a video for you.
First step:
Click on App name.
Second step:
Click on Targets.
Third step:
Click on Info.
Final step:
Make any kind of changes or add a new row in that info dictionary properties.
I have added a new row as you can see below: (You don’t have to choose from the given dropdown list, you can write anything as per your requirement)
You can also check the full video of I did this from here:
Now you see I get the info.plist here:
You can just right-click on it and open this file as a source code also in Xcode.
Leave a Reply