2

私はヒョウで Xcode 4.2 を使用してすべてを開発してきました。最近、Xcode 4.2 の Lion バージョンである Lion をインストールし、すべてが 5.0 になりました! シミュレーター、私のプロジェクト、すべて。

今、プロジェクトの展開ターゲットを 4.3 にしようとしてシミュレーターを変更しましたが、アプリケーションの起動時に黒い画面が表示されるだけで、viewDidLoad でブレークポイントにさえヒットしません。

4

1 に答える 1

2

I've had this frustrating problem before (black screen after launching the app in the simulator and no breakpoints hitting and no indication anything was happening in the Debugging console).

I sense it was a corrupted XIB file somewhere between the build products and the simulator.

Now I'm not 100% certain what fixed it for me, but I did a combination of "cleaning" the project (and even throwing away the Derived Data folder) and also deleting the app from the simulator, then restarting both Xcode and the simulator before rebuilding the app.

于 2012-05-12T11:54:00.990 に答える