3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

[SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)")というエラー?がでる

Posted at

はじめに

めちゃくちゃ久しぶりにSwiftUIでコーディング始めたのですが、全部忘れまくってて焦った上に、シミュレータで実行したら謎のエラーが出たので、調べて解決したので、備忘録として....

更新履歴

2023.1.19 初回投稿

環境

  • XCode Ver.14.2
  • MacOS Monterey 12.5.1

参考にしたサイト

やりたいこと

『[SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)")』というエラー?が出たので出ないようにしたい

手順

プロジェクトを作るときのInterfaceに「SwiftUI」にすると、info.plistが生成されないのが原因のようである....。「Storyboard」の場合は生成されます。
なので、info.plist作って、「Scene Configuration」を追加すればOKのようです。

  1. XCode左ペインのプロジェクトトップをクリックして、設定画面?を開きます。
    スクリーンショット 2023-01-19 10.06.25.png

  2. infoタブを選択
    スクリーンショット 2023-01-19 10.06.37.png

  3. 「Application Scene Manifest」を探して、右Chevron(>)をクリック+をクリックして、「Scene Configuration」を追加
    スクリーンショット 2023-01-19 10.07.07.png

  4. これでOKです。

以上

3
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?