0

I just upgraded to Xcode 7 GM Seed, and I tried running my tests which were working on IOS 8.4

My app wouldn't install, and with a bit of googling I found this - https://forums.developer.apple.com/message/51922

I have added the code below, which initiates the simulator and waits for it to launch, and then installs the app.

launcher = LaunchControl.launcher launch_options = { :uia_strategy => :host, :timeout=>60} launcher.launch_simulator sleep 10 `xcrun simctl install "iPhone 6s" ./build/ios/xxx-cal.app`

Is there another way of installing the app on to the iOS simulator and running a test app?

buruzaemon
  • 3,847
  • 1
  • 23
  • 44
Tejasvi Manmatha
  • 564
  • 7
  • 12

1 Answers1

0

Please update to Xcode 7 final.

Calabash 0.16.3 will do the following:

  1. If the .app you are trying to test is different from the .app that is installed on the simulator, Calabash will re-install the new app.
  2. If you define RESET_BETWEEN_SCENARIOS=1, Calabash will reset the application sandbox on the simulator.

See this answer for details and this repo for examples.

Community
  • 1
  • 1
jmoody
  • 2,480
  • 1
  • 16
  • 22