skip to Main Content

Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)")?

Upgraded Xcode 14.1 -> 14.2 and got this brand new error.

Console Error

In my Project editor, selected Target on left and then "Build Settings" on top.

Build Settings

Here’s what the Finder shows:

enter image description here

Tried this Key 1st:

1st Key

Error does not go away.

Then this 2nd Key:

2nd Key

Error still there.

What simple something am I missing?

Thanks bunches.

EDIT

I have my info.plist.file in the same Folder as my .xcodeproj file and indications on my end indicate that this the correct location So, it appears that my error is in the content of my .plist File.

I initially set the key = UISceneConfigurationDictionaryName with content Type = String.

Of particular note is the (no name) value.

Then I set the key = UISceneConfigurationDictionary with content Type = Dictionary.

Same Error.

Puzzling to me is that the drop-down list of Keys does not contain any "UIScene".

Can’t prove it, but I believe that this void in the drop-down list is at the heart of my problem.

4

Answers


  1. I’ve had the same issue when I updated my Xcode to 14.2, the info.plist file was inside a folder i had created, but finally it worked for me when i put the info.plist file back to the root folder, idk if its necessary but I cleaned the folder after that.

    After this, just to keep the organization the way I wanted, I placed the info.plist file inside the folder that I wanted before, but changed the file location in Project -> Target -> Build Settings -> Packaging -> Info.plist File > fix the file path

    adding edits here as i don’t have enough reputation to answer/comment:
    If the issue is still there, try restarting the machine as that fixed the issue for me

    Login or Signup to reply.
  2. I just experienced the same issue and found the fix, at least, for me:

    I added the UISceneConfigurations key (inside the UIApplicationSceneManifest dictionary) and its value as an empty dictionary, like this:

        <key>UIApplicationSceneManifest</key>
        <dict>
            <key>UIApplicationSupportsMultipleScenes</key>
            <true/>
            <key>UISceneConfigurations</key>
            <dict/>
        </dict>
    

    Note, if your app does not support multiple scenes (i.e. multiple windows or screens), then this is sufficient (and may avoid a strange black screen!):

        <key>UIApplicationSceneManifest</key>
        <dict>
            <key>UISceneConfigurations</key>
            <dict/>
        </dict>
    

    enter image description here

    It compiled and ran successfully without the warning in the debug console, and also automatically removed this key from the project.pbxproj file:

    enter image description here

    I hope it helps.

    Login or Signup to reply.
  3. I was helped by adding the item "Scene Configuration" on the tab "Info" in the project settings.

    Just push this button and select "Scene Configuration" from the list:
    enter image description here
    After that, Output is clean:
    enter image description here

    Login or Signup to reply.
    • First add "Application Scene Manifest" to the Info.plist file and just leave the other sub options under it as follows.

    enter image description here

    • Then make sure you have added the Storyboard file names for Launch Screen and Main screen properly as follows. (Make sure you the spellings are correct according to your project.)

    enter image description here

    • After that, make sure you have removed the code snippet related to Scene Manifest from your AppDelegate file. Should be something along the lines as follows.

    enter image description here

    • Finally make sure you have added the following line to the AppDelegate file.

      var window: UIWindow?

    Now, build and run your app. Should be working fine now.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search