我正在使用fastlane快照工具拍摄应用程序屏幕的快照。
根据fastlane社区的说法,我需要跑步,
fastlane snapshot init
然后在配置项目ui测试目标后,我需要运行
fastlane snapshot
但是如果我想提供一些构建参数,比如xcodebuild test test-only params,我该怎么做呢。例如,我想建立像,
xcodebuild test -workspace <path>
-scheme <name>
-destination <specifier>
-only-testing:TestBundleA/TestSuiteA/TestCaseA
-only-testing:TestBundleB/TestSuiteB
-only-testing:TestBundleC
我明白了,
fastlane snapshot --help
然后我添加了Snapfile,
xcargs -only-testing:TestBundleB/TestSuiteB
但是这会给出错误
(eval):36:语法错误,意外的tSYMBEG,期待keyword_do或 '{'或'('only-testing:TestBundleB / TestSuiteB
我该如何解决这个错误?