Given I testing against a physical device
And the app I am testing is already installed
When the installed app version is different than the .ipa I have on disk
Then I want Calabash to install the .ipa from disk
On iOS Simulators, we do a checksum to determine if an installed .app is stale. This is not possible on physical devices; the only information about an app we can get is from the Info.plist. The idea is to ask "Are the versions of the installed app and the app on disk the same?" and reinstall if the answer is, "No.".
Motivation
I want to be able to support this use case:
On iOS Simulators, we do a checksum to determine if an installed .app is stale. This is not possible on physical devices; the only information about an app we can get is from the Info.plist. The idea is to ask "Are the versions of the installed app and the app on disk the same?" and reinstall if the answer is, "No.".