Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while trying to uninstall app with core_sim.uninstall_app_and_sandbox #722

Open
katia-kozlova opened this issue Jun 20, 2019 · 0 comments

Comments

@katia-kozlova
Copy link

I used suggested by @liubin-acn way to reinstall app in the simulator, but starting from run_loop version 4 it doesn't work anymore. It removes app and after references to plist of the app that is not there and fails with exception RuntimeError: plist '/Users/path_to_app_on_simulator/Info.plist' does not exist - could not read

# Reset Simulator Content and Settings
device = RunLoop::Device.device_with_identifier("< UDID of Simulator >")
RunLoop::CoreSimulator.erase(device)

# Uninstall with CoreSimulator
device = RunLoop::Device.device_with_identifier("< UDID of Simulator >")
app = RunLoop::App.new("path/to/Your.app")
core_sim = RunLoop::CoreSimulator.new(device, app)
core_sim.uninstall_app_and_sandbox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant