Xcode iOS Simulator will lose Safari.app

I am using Apple Xcode iOS-Simulator to run browser application tests on an (virtual) iPad device. I use Appium to connect my code. But sometimes the iOS simulator loses safari.app , so I can’t run the tests (without a browser on my device - it’s not only not displayed, but also doesn’t exist). I do not know why Safari.app is lost and when it happens. This is the same problem with all devices (iPad and iPhone) and all installed software versions.

At first I tried "reset content and settings", but nothing happens. Then I installed the Xcode iOS-Simulator 6.1 package and switched to it. This version contains safari.app. I switched different versions, and after some switches, devices with 7.1 again had safari.app.

After a short time, Xcode iOS-Simulator again lost the application. "reset contents and settings" no longer worked, when switching versions this time did not affect.

Then I uninstalled Xcode from the Mac and installed it again (with 2.1 gb download ...). safari.app was not on a simulated device. I used "reset content and settings" and then safari.app appeared.

The last part (from reinstallation to reset) is how I go every time the simulator loses safari.app. And this way takes time and annoys ....

I am using OS X 10.9.2 with Xcode 5.1.1 (Build 5B108).

I have 2 questions:

  • What happens when iOS-Simulator loses safari.app?

  • How can I return it without reinstalling Xcode?

Thank you for your help.

+4
source share
1 answer

A workaround may occur. You can open the xcode folder and go to the simulation files. Back up your ios-Simulator files. If your simulator loses the safari application, close xcode and copy the backup files to the xcode folder again. Therefore, you do not need to reinstall it.

0
source

All Articles