5
4

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 5 years have passed since last update.

Storyboard file 'Main~iphone.storyboardc' was not found.

Last updated at Posted at 2014-07-27

OrganizerのValidationで初めて見たエラーだったので対応をまとめてみました。(本当に正しいかどうかは未検証です。)

環境

  • Xcode 5.1
  • iOS 7.0以降

警告

スクリーンショット 2014-07-28 3.54.08.png

Storyboard file 'Main~iphone.storyboardc' was not found. Please ensure the specified file is include in the bundle with any required device modifiers appended to the filename.
Storyboard file 'Main~ipad.storyboardc' was not found. Please ensure the specified file is include in the bundle with any required device modifiers appended to the filename.

解決策 1

TARGESTS > Generalを選択し、Main Interfaceに設定されている「Main」の文字列を削除する
これは間違いでした。orz

解決策 2

TARGESTS > Infoを選択し、Main storyboard file base nameの項目を削除スクリーンショット 2014-07-28 4.22.21.png

解決策 3

info.plistから直接コードを削除

git diff info.plist
-   <key>UIMainStoryboardFile</key>
-   <string>Main</string>

これでとりあえずOrganizerのValidationに引っかからなくなりました。

5
4
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
5
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?