我刚刚升级到Xcode 7 GM Seed,我尝试运行我在IOS 8.4上运行的测试
我的应用程序无法安装,有点谷歌搜索我发现 - https://forums.developer.apple.com/message/51922
我添加了以下代码,启动模拟器并等待它启动,然后安装应用程序。
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`
是否有其他方法可以将应用程序安装到iOS模拟器上并运行测试应用程序?
答案 0 :(得分:0)
请更新至Xcode 7 final 。
Calabash 0.16.3将执行以下操作:
RESET_BETWEEN_SCENARIOS=1
,Calabash将重置模拟器上的应用程序沙箱。有关详情和this answer,请参阅this repo for examples。