iPhone simulators crash on app launch

前端 未结 7 894
轮回少年
轮回少年 2021-01-03 06:19

I\'m having some issues with the iPhone simulators after upgrading to Lion and XCode 4.1. When I launch the simulator for 4.0, 4.1 or 4.2 (which I restored from Time Machine

7条回答
  •  佛祖请我去吃肉
    2021-01-03 07:07

    You're missing some core functionality for the simulator. Springboard is the name of the app-launcher "desktop" for iOS, and your simulator system seems to think it's unimplemented.

    __springboard_unimplemented ()

    This discrepency would explain why you're having trouble on the simulator, and not your phone.

    I would suggest a full removal of Xcode and the iOS SDK, then reinstall fresh from the App Store.

    EDIT: Some of my Googlings:

    • https://discussions.apple.com/thread/3028002?start=0&tstart=0
    • http://twitter.com/#!/gparker/status/16728366321
    • http://pastie.org/2271247

    The last one was buried deep within the confines of Apple-Developer-only territory. It's a text-dump from a forum, so it's not formatted particularly well, but it looks to be the most promising. This looks like the bottom line:

    Your app died because something called abort(), as shown in the Application Specific Information. The backtrace shows that abort() was called by __springboard_unimplemented(), which means you're calling a function that is present in the simulator but may not be on the device. That function is mcount_L1(). Calls to mcount_L1() come from profiling tools. To fix this, make sure you have "Generate Profile Code" unchecked in your build settings.

提交回复
热议问题