NSUnknownKeyException エラー
久々にiPhoneアプリ開発。まだまだ慣れない。
さて初歩的なエラーだと思うけど、ちょっと引っかかった。
2010-12-07 13:03:30.276 Memo2[17002:207] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<CustomViewController 0x801eb80> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key titleField.'
ボタンのOutletを消してみたら発生。
使ってないような気がするんだが、消しちゃダメなんだろう。
とにかく進もう。
iPhoneアプリ開発 エラー対応
■iPhoneアプリ
scene is unreachable due to lack of entry points and does not have an identifier for runtime access
→全部の画面にTitle、StoryboardID、RestorationIDを登録した。
■参考
・URL
・内容
How do I workaround this new warning in Xcode 4.3.1: “Scene is unreachable due to lack of entry points…”? →
Xcode 4.3.2における”Scene is unreachable due to lack of entry points and does not have an identifier for runtime access via -instantiateViewControllerWithIdentifier:.”警告の解消方法について。ms.xの回答の通り、TitleとStoryboard IDの指定をするように仕様変更されている点に注意。