LoginSignup
0
0

More than 5 years have passed since last update.

storybordを使ってない既存のアプリがXcode6でエラーになる

Last updated at Posted at 2014-09-30

☆エラー内容
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Could not find a storyboard named 'Main' in bundle NSBundle ....
今まで、ストーリーボードを使っていなかったプロジェクトをXcode6でビルドしたら、storybordができていたので、削除したら、上記のエラーが出た。

☆解決法
ここをみて、target内のMainを削除した。
http://stackoverflow.com/questions/25326806/ios-8-swift-xcode-6-beta-working-without-interface-builder-no-nibs-and-no
真っ黒い画面になったので、これをみてplist内をチェックしたが、
すでになかった。
http://stackoverflow.com/questions/19240054/could-not-find-a-storyboard-named-main-in-bundle
画面が黒くなったままだったので、続けて
ここのを試したけど、画面が白くなっただけだったw
http://codefromabove.com/2014/09/xcode-6-removing-storyboards-and-creating-useful-empty-projects/

☆そうしたら、次のエラー
Application windows are expected to have a root view controller at the end of application launch
が出てきました。

解決法がわかりましたら、お願いします。

0
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
0
0