Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/logging/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Unit testing Xcode4在终端中显示所有输出(删除“仅显示前200条通知”)_Unit Testing_Logging_Jenkins_Continuous Integration_Xcodebuild - Fatal编程技术网

Unit testing Xcode4在终端中显示所有输出(删除“仅显示前200条通知”)

Unit testing Xcode4在终端中显示所有输出(删除“仅显示前200条通知”),unit-testing,logging,jenkins,continuous-integration,xcodebuild,Unit Testing,Logging,Jenkins,Continuous Integration,Xcodebuild,我们正在使用xcodebuild执行一些Jenkins CI任务 我们有一个停止生成的错误,但无法看到它是什么,因为xcodebuild将日志长度限制为前200个通知: Showing first 200 notices only ** TEST FAILED ** 有没有办法取消200个通知限额?我们知道我们可以使用UI在Xcode中实现这一点,但需要能够使用xcodebuild从命令行实现这一点,只需使用xcodebuild cli即可。 在Jenkins集合中,使用以下内容调用脚本步骤

我们正在使用xcodebuild执行一些Jenkins CI任务

我们有一个停止生成的错误,但无法看到它是什么,因为xcodebuild将日志长度限制为前200个通知:

Showing first 200 notices only

** TEST FAILED **
有没有办法取消200个通知限额?我们知道我们可以使用UI在Xcode中实现这一点,但需要能够使用xcodebuild从命令行实现这一点,只需使用xcodebuild cli即可。 在Jenkins集合中,使用以下内容调用脚本步骤:
xcodebuild clean test-project SOMEPROJECT.xcodeproj-scheme SOMECHEME-destination'name=iphone6,OS=9.1'

您基本上可以通过以下方式之一实现这一点:

a。将其添加到配置文件中。其他\u CFLAGS其他C标志 e、 g.其他缺陷=-ferror极限=0

b。GCC_预处理器_定义预处理器宏
CINFOPLIST\u PREPROCESSOR\u DEFINITIONS Info.plist PREPROCESSOR DEFINITIONS

如果要在Xcode中尝试,请选择在左侧窗格中显示问题导航器,选择目标,如果有任何链接器警告或Dsymutil警告,请单击其中任何一个,您应该能够看到所有警告的列表,通过在右侧窗格中选择“全部”和“所有问题”,对其进行筛选。现在,您将能够看到带有详细信息的总警告。

Hmm?这是来自Xcode GUI的。我们需要能够在运行xcodebuild.Ok的终端中进行设置。我误读了建议的答案。也许是Xcode升级?您执行的命令是什么?