Xcode fails to kill app process when Quitting iPad 5.1 Simulator

Originator:heath.borders
Number:rdar://12036521 Date Originated:06-Aug-2012 02:29 AM
Status:Open Resolved:
Product:iPad SDK Product Version:Version 4.4 (4F250)
Classification:Serious Bug Reproducible:Sometimes
 
06-Aug-2012 02:29 AM Heath Borders:
Summary:
When running a new version of my iOS App in the iPad 5.1 Simulator while a previous version is running, Xcode does not kill the previous version's process, which causes Xcode not to run the new version of my iOS App. Manually clicking the 'Stop' button does nothing. Quitting Xcode fails because it first attempts to stop the previously running process, which it can't do. My only option is to force-quit Xcode.

This also happens if I simply quit the iOS simulator with a process attached to Xcode. Xcode never detaches the process and everything requiring the iOS simulator is blocked.

Steps to Reproduce:
1. Build and Run Application
2. Modify Application.
3. Build and Run Application.

OR

1. Build and Run Application.
2. Quit iPad 5.1 Simulator

Expected Results:

Xcode detaches from process.

Actual Results:

Xcode keeps process alive, blocking any new runs in the iPad simulator until Xcode is force-quit.

Regression:

Previously, Xcode would detach from any running processes when the iPad simulator was quit, reset, or a new version of a build is run.

Notes:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!