Closed TeresaP closed 7 years ago
I hope this bug is in the right place. It seemed to be only applicable to iOS but perhaps should be in a different project.
Thanks for reporting.
Are you still forcing a DeviceAgent uninstall between Scenarios (or periodically)?
If so, you should try without uninstalling. We've resolved the DeviceAgent stalls.
Yes I was. I will pass that info along to the new team. Thanks!
Somehow my app got into a state where the DeviceAgent app did not appear to be installed (by looking at the UI). However, if I do
ideviceinstaller -l
it was listed as an installed app. Uninstalling it via ideviceinstaller or by manually trying to remove it in iExplorer did not work.I noticed Calabash determined DeviceAgent did not need to be reinstalled:
Manually overwriting it by using this command solved my problem:
ideviceinstaller -i /var/folders/zm/vy74t2t961l2q5rfbyszhkj00000gn/T/1374FA81-054D-42C4-8959-9234ABD90408-32790-0000F1ABE90C7276/DeviceAgent-Runner.app
I don't know how you would be able to determine the state I was in, but I do know it was difficult to track down so I thought it should be documented.