LoginSignup
0

More than 5 years have passed since last update.

Xcode6.4スプラッシュ画面が表示されなくてエラーになった時の対処法

Posted at

突然スプラッシュ画面が表示されなくなり適当にいじっていると

2015-12-09 17:53:43.148 Project[20494:105173] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle <~/Library/Developer/CoreSimulator/Devices/A36C536F-F52D-422F-9D0D-0295DEBBFEAB/data/Containers/Bundle/Application/4ADB8D26-69BF-4BCE-98C1-999BAC4FCD39/Project.app> (loaded)' with name '''

このようなエラーが・・・

Target>BuildPhases>Copy Bundle Resources
に、LaunchScreen.xibが抜けているので追加します。

リンク切れで赤くなっても大丈夫でした。

その後
Target>General>Main Interface
の選択肢にLaunchScreenがあるので設定する。

以上で終了です。
元はというと突然スプラッシュ画面が表示されなくなってしまったのが原因なのでそれで困っている人もこちら確認してみると良いかもしれません。

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
0