Info.plist Is Missing in Xcode 13 — Here’s How To Get It Back | by Andrew Zheng | Better Programming


This article explains how to restore the missing Info.plist file in Xcode 13, addressing its absence as a result of Xcode's new project template changes.
AI Summary available — skim the key points instantly. Show AI Generated Summary
Show AI Generated Summary

Info.plist Is Missing in Xcode 13 — Here’s How To Get It Back

It’s supposed to be a “feature”

Image by the author.

If you’ve created a new SwiftUI app using Xcode 13, you’ll notice that Info.plist is gone. It’s not a bug. According to the Xcode 13 release notes:

“Projects created from several templates no longer require configuration files such as entitlements and Info.plist files. Configure common fields in the target’s Info tab, and build settings in the project editor.”

That’s nice, but there’s a problem. All you get is a GUI, so you can’t see the underlying XML source code. This can be limiting when you’re resolving merge conflicts or when you just want to paste in some template properties.

Let’s discuss our options.

Option 1: Follow Apple’s Recommendation

First, go to:

Project → Targets → Info → Custom iOS Target Properties

…then edit the properties, just like you would’ve back in Info.plist.

The first time, Xcode will automatically generate a new Info.plist file that’s semi-synced with Custom iOS

Was this article displayed correctly? Not happy with what you see?

Tabs Reminder: Tabs piling up in your browser? Set a reminder for them, close them and get notified at the right time.

Try our Chrome extension today!


Share this article with your
friends and colleagues.
Earn points from views and
referrals who sign up.
Learn more

Facebook

Save articles to reading lists
and access them on any device


Share this article with your
friends and colleagues.
Earn points from views and
referrals who sign up.
Learn more

Facebook

Save articles to reading lists
and access them on any device