Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XcodeServer only one simulated device may be used at a time error

I setup a bot to build the project then test on all the simulators. This has been working, but today the integration had 28 errors. Each said the same thing (but for each simulator device name):

Xcode cannot launch apps on the simulated device “Resizable iPad”, as it is currently running an app on “iPhone 5s”. Only one simulated device may be used at a time...

After manually running the bot I received no warnings. What could cause this? (I enjoy the success streak)

like image 834
Michael Ozeryansky Avatar asked Jun 05 '15 16:06

Michael Ozeryansky


3 Answers

I only had one project running and had the same issue. Control Quit out of xcode and start it back up.

like image 142
Sami Avatar answered Oct 12 '22 11:10

Sami


I had this same problem. I had multiple projects open and a different one still had

'Running appName on deviceName' displayed

Currently open projects can be accessed from the Window section on the toolbar on top. Pressing the Stop button (or the command from the Product Menu) on any projects that were still 'running' freed that particular device for other projects.

Alternatively, Rebooting Xcode works as it closes all projects.

See: https://stackoverflow.com/a/22267017/5172836

like image 41
radthemad4 Avatar answered Oct 12 '22 09:10

radthemad4


I encountered the same error today with the simulator. The only way i've find is to reboot Xcode. After that the error disappeared and the application launch corectely in the simulator. I don't know how the error has been originally produce, but Xcode is not a reliability model, so...

like image 1
Vivien Avatar answered Oct 12 '22 09:10

Vivien