Xcodebuild-跳过完成请求崩溃报告.继续测试 [英] Xcodebuild - Skip Finished requesting crash reports. Continuing with testing

查看:75
本文介绍了Xcodebuild-跳过完成请求崩溃报告.继续测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Xcode运行CI机器.

I'm running a CI machine with the Xcode.

使用 fastlane健身房触发测试.我在输出中看到这一行:

The tests are triggered using fastlane gym. I see this line in the output:

2019-05-27 16:04:28.417 xcodebuild [54605:1482269] [MT]IDETestOperationsObserverDebug:(A72DBEA3-D13E-487E-9D04-5600243FF617)请求崩溃报告已完成.继续测试.

2019-05-27 16:04:28.417 xcodebuild[54605:1482269] [MT] IDETestOperationsObserverDebug: (A72DBEA3-D13E-487E-9D04-5600243FF617) Finished requesting crash reports. Continuing with testing.

此操作需要一些时间(大约一分钟)才能完成.据我了解,Xcode要求Apple提供崩溃报告以显示在组织器"窗口中.

This operation takes some time (about a minute) to complete. As far, as I understand, the Xcode requests crash reports from Apple to show in the "Organizer" window.

由于这是一台CI机器,因此将永远不会在其上查看崩溃报告,并且可以完全跳过此步骤,我该如何跳过呢?

Since this is a CI machine, the crash reports will never be viewed on it and this step could be skipped completely how can I skip it?

推荐答案

您的行驶里程可能会有所不同,但是在使用以下配置设置新机器后,我遇到了与OP详细信息相同的问题:

Your mileage may vary, but after setting up a new machine with the following configuration, I encountered the same issue OP details:

  • macOS 10.15.2
  • Xcode 11.3
  • fastlane 2.139.0
  • 模拟器@ 13.3

当我使用3台设备运行fastlane测试时,出现以下消息,并且闲置了大约四分钟,然后才终止它:

When I run my fastlane test with 3 devices, I wind up at the following message and was sitting idle for about four minutes before I terminated it:

然后,我按照对OP的评论中概述的步骤进行操作:

I then took the steps that I outlined in the comment to OP:

  1. fastlane扫描初始化
  2. 编辑我的 scanfile 看起来像这样
  1. fastlane scan init
  2. Edit my scanfile to look like this

我最初设置了 disable_concurrent_testing(false),当我通过fastlane运行测试时,我再次陷入困境.将值更改为 disable_concurrent_testing(true)可以使测试现在在我的计算机上运行.

I initially set disable_concurrent_testing(false), and when I ran the tests through fastlane, I got stuck again. Changing the value to disable_concurrent_testing(true) has allowed the tests to now run on my machine.

这篇关于Xcodebuild-跳过完成请求崩溃报告.继续测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆