2011-11-08 14 views
2

Mac App StoreからXcode 4.2の最終ビルド4D199を使用しています。 iOS 5シミュレータでアプリケーションを起動したいときは、終了、スイッチSDKまたは再起動ができることを教えてくれます。私はさらに4.3 SDK /シミュレータをダウンロードし、そこに動作します。ベータ中にiOS 5のビルドを使用しましたが、最終的には/ Developer/Libraryのuninstall-devtoolsを使用して他のすべての開発者インストールを削除しましたが、問題は解決しませんでした。iOS 5.0 Simulatorは常に終了します。「シミュレートされたアプリケーションが終了しました」

コンソールは言う:


Process:   SpringBoard [4764] 
Path:   /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/System/Library/CoreServices/SpringBoard.app/SpringBoard 
Identifier:  SpringBoard 
Version:   ??? (???) 
Code Type:  X86 (Native) 
Parent Process: iPhone Simulator [4748] 

Date/Time:  2011-10-31 14:45:25.541 +0100 
OS Version:  Mac OS X 10.7.2 (11C74) 
Report Version: 9 

Crashed Thread: 6 

Exception Type: EXC_BAD_ACCESS (SIGBUS) 
Exception Codes: 0x000000000000000a, 0x000000000bf33000 

VM Regions Near 0xbf33000: 
__LINKEDIT    000000000bf29000-000000000bf33000 [ 40K] r--/rwx SM=COW /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Resources/libRIP.A.dylib 
--> mapped file   000000000bf33000-000000000bf42000 [ 60K] r--/r-x SM=PRV /Network/*/*.cpbitmap 
__TEXT     000000000bf42000-000000000bf8f000 [ 308K] r-x/rwx SM=COW /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Resources/libCGFreetype.A.dylib 

Application Specific Information: 
iPhone Simulator 272, iPhone OS 5.0 (iPhone/9A334) 

Thread 6 Crashed: 
0 QuartzCore     0x01ce06b5 void CA::OGL::SW::image_sampler<CA::OGL::SW::Format::ARGB8_Host, false, false, false, false>(CA::OGL::SW::SamplerData const*, unsigned int, unsigned int*) + 64 
1 QuartzCore     0x01cda0fa CA::OGL::SW::sample_texture(CA::OGL::SW::Texture const*, int, unsigned int, CA::OGL::SW::Poly::Vertex const*, CA::OGL::SW::Poly::Vertex const*, CA::OGL::SW::Poly::Vertex const*, CA::OGL::SW::Poly::Vertex const*, unsigned char, unsigned int, unsigned int*) + 686 
2 QuartzCore     0x01cdbc4b CA::OGL::SW::scanline(CA::OGL::SW::ScanState const*, int, int, int, CA::OGL::SW::Poly::Vertex*, CA::OGL::SW::Poly::Vertex const*, CA::OGL::SW::Poly::Vertex*, CA::OGL::SW::Poly::Vertex const*, unsigned int) + 1172 
3 QuartzCore     0x01cdd3bd CA::OGL::SW::scan_convert_thread(void*, void*) + 3009 
4 QuartzCore     0x01cff92f CA::DispatchGroup::dispatch(bool) + 191 
5 QuartzCore     0x01cff969 CA::DispatchGroup::callback_1(void*) + 25 
6 libdispatch.dylib    0x047944e6 _dispatch_worker_thread2 + 284 
7 libsystem_c.dylib    0x9930db24 _pthread_wqthread + 346 
8 libsystem_c.dylib    0x9930f6fe start_wqthread + 30 
+0

iOS 5.1用の新しいプロジェクトを作成すると – Tobe

答えて

0

私は4.3と5.0で、シミュレータ上で発生した同様の問題がありました。私は最終的に、そのクラスメソッド+(Class)layerClassに応答してCATiledLayerを返すように設定されたUIViewのサブクラスのsetFrameセレクタ内の[self setNeedsDisplay]への不必要な呼び出しを取り除くことによって、それをスクッシュすることができました。

0

静的メソッド(クラス)layerClassの呼び出しがCATiledLayerで問題になります。具体的には、tileSizeのサイズを設定する初期化関数です。それが0でないことを確認してください。

0

Xcode - >環境設定 - >ダウンロード プロジェクトで設定したターゲットSDKがXcodeにインストールされていることを確認してください。

関連する問題