iProgrammer Tip#7: springboard failed to launch application with error 7
Today i had another weird moment with xCode/iPhone Simulator.
I had couple of projects open for a while and switched to one of those and wanted to test on the Simulator,
but xcode was reporting
Error launching simulated application: SpringBoard failed to launch application with error: 7
The Console log was showing like:
Xcode[27865] Error launching simulated application: Error Domain=DTiPhoneSimulatorErrorDomain Code=1 UserInfo=0x3fc3d80 "SpringBoard failed to launch application with error: 7"
When i switched the Active configuration to release, it was launching the app in simulator as usual. But Debug configuration seemed to have some issue. For next 10 minutes or so i was comparing the differences in Build settings/Target settings etc, nothing seems to be the problem.
Looking more attentively at Console logs shown the following lines were repeating everytime xcode fails to launch..
6/30/09 10:47:41 AM com.apple.launchd[55426] (com.apple.iPhoneSimulator:com.apple.installd[27624]) Exited: Terminated
6/30/09 10:47:41 AM com.apple.launchd[55426] (com.apple.iPhoneSimulator:com.apple.dataaccess.dataaccessd) Unknown key for integer: JetsamPriority
6/30/09 10:47:41 AM com.apple.launchd[55426] (com.apple.iPhoneSimulator:com.apple.apsd) Path monitoring failed on "/var/mobile/Library/Preferences": No such file or directory
When i googled, found there are quite close but the same trouble has been faced by many fellow xcoders.
and finally
iPhone Simulator: SpringBoard failed to launch application with error no 7
What worked for me finally:
Reset Content and Settings didnt work either but Quitting the simulator and re-launching did it.
I almost felt abused as i expected a complex solution to fix
anyway, back to happy xCoding!!



