No Info.plist in newly created project

It seem Apple is forcing developers to use new Xcode 14.3 and Ventura. I am having various rudimentary problems with Xcode 14.2.

Today I created a new project and was surprised to find out that there is Info.plist in the project. I have to copy one from an older project.

I am wondering if Xcode 14.3 does the same thing (not creating Info.plist). Or I am quite behind the trend because I had not updated my apps for more than a year.

EDIT: Why PRODUCT_BUNDLE_IDENTIFIER is invalid?

Answered by Claude31 in 750326022

was surprised to find out that there is Info.plist in the project

I guess you mean: was surprised to find out that there is NO Info.plist in the project

There is effectively a strange behaviour when creating a SwiftUI project.

  • When you create project in Xcode 14.2 (could not test 14.3), there is no infoPlist file in the files list:

  • If you go to Project > Tagets > Info, you do get the info.plist:

  • But it does not show in the files list.
  • You also have to create a Scene configuration dictionary (even though you leave it empty), to suppress a warning at compilation.

  • As you can notice, that made an info.plist file appear in the files list… But it contains only the Scene manifest

Is it a UIKit or SwiftUI project ?

Accepted Answer

was surprised to find out that there is Info.plist in the project

I guess you mean: was surprised to find out that there is NO Info.plist in the project

There is effectively a strange behaviour when creating a SwiftUI project.

  • When you create project in Xcode 14.2 (could not test 14.3), there is no infoPlist file in the files list:

  • If you go to Project > Tagets > Info, you do get the info.plist:

  • But it does not show in the files list.
  • You also have to create a Scene configuration dictionary (even though you leave it empty), to suppress a warning at compilation.

  • As you can notice, that made an info.plist file appear in the files list… But it contains only the Scene manifest
No Info.plist in newly created project
 
 
Q