LoginSignup
2
3

More than 5 years have passed since last update.

“View Controller“ is unreachable because it has no entry points, and no identifier for runtime access via -[UIStoryboard instantiateViewControllerWithIdentifier:].

Last updated at Posted at 2018-11-30

過去に出会った警告メッセージとその対処方法備忘録

環境

  • XCode
  • Swift4.2

警告メッセージ

“View Controller“ is unreachable because it has no entry points, and no identifier for runtime access via -[UIStoryboard instantiateViewControllerWithIdentifier:].

原因と対処方法

原因

ストリーボード上で定義している「View Controller」がどこからもアクセスされていないよって言っています。
使われていないViewControllerがストーリーボード上に存在しているようです。

対処方法

不要なViewControllerは削除してしまいましょう。
テスト用等で一時的に退避している場合は意図通りだと思うので、一旦無視して最終的には解決するようにしましょう。

2
3
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
2
3