iPhone Simulator: SpringBoard failed to launch application with error: 7

后端 未结 22 1495
伪装坚强ぢ
伪装坚强ぢ 2020-12-08 04:09

Building an iPhone project results in:

Failed to launch simulated application: SpringBoard failed to launch application with error: 7

相关标签:
22条回答
  • 2020-12-08 04:36

    Check your console and you will get a better idea of what the error might be. That error number is pretty generic. In my case I had an error in my Plist file. I chenged something that I shouldn't have. But I realized this was the problem because the console had a more detailed error message:

    2010-09-13 23:30:27.149 Appname[5580:207] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle:
    

    ... and it goes on.

    0 讨论(0)
  • 2020-12-08 04:36

    I have had this problem frequently, and generally just quitting and restarting Xcode works.

    However, I just had this problem again and nothing seemed to fix it - quitting the sim, Xcode, rebooting… What was strange was some targets worked (I have multiplied build targets for this project), and other projects worked. But one target failed to launch no matter what I did.

    In the end, I found the problem: In the target's properties the executable name $[EXECUTABLE_NAME] got accidentally deleted ! Replace it, and it works.

    Worth remembering…

    0 讨论(0)
  • 2020-12-08 04:37

    I started with a new project in Xcode and got the error 3 message, but otherwise same deal. New damn project - so no problems with broken code I added or name mistakes or anything else. But the app would build but fail to run in Simulator with the Springboard -3 error code. I've seen this before lots of times, and the basic kill-the-app-in-simulator, clean-and-run would work, but not this time.

    Turns out my old 2007 iMac barely has enough RAM and disk space free any more. I'm running Mavericks, and I hid everything but Xcode and the Simulator, then ran a memory cleaning utility to free up every bit of RAM available (got back up to 1GB free or so), and then the app runs in the Simulator without a hitch. No more Springboard error.

    I hadn't seen "too little RAM" listed as a reason for this error yet, so this may be useful for somebody else.

    0 讨论(0)
  • 2020-12-08 04:37

    Maybe this will help: http://discussions.apple.com/thread.jspa?threadID=1605042&tstart=72

    I had similar issues when I was trying to install my current development on the iPhone and this information about the AppID fixed it.

    For quick reference, the AppID you created when you started creating certificates for development and provisioning of your iphone asked you to create a reverse domain name identifier. Something like: QS32H9XPNE.domain.subdomain.companyname.*

    To correctly link up your application to the AppID would require you to set the identifier in the application to domain.subdomain.companyname.application.*

    Hope this helps

    0 讨论(0)
提交回复
热议问题