iPhone SDK 4, contains project error.

Using XCode and iPhone SDK 4 beta, iPhone project can be created and compiled successfully.

But at the run-time in simulator, application will be crashed.

with message like this

Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key rootViewController.'

관련링크: http://www.iphonedevsdk.com/forum/iphone-sdk-development/45348-installed-sdk4-xcode-3-2-having-issues.html

다행히 노트북은 아직 SDK 4로 업데이트 하지 않아서 상관 없다.

아무래도 SDK 4의 Project Setting이 Wrong해서 Previous Version으로 컴파일 할 때 새로운 Framework의 Library를 참조하나 보다. 아니면 sdk 버전 3으로 세팅해도 버전 4의 셋팅이 남아 있던지.