Saz*_*han 4 xcodebuild fastlane fastlane-snapshot
我正在使用 fastlane 快照工具为应用程序屏幕拍摄快照。
According to fastlane community, i need to run,
fastlane snapshot init
Run Code Online (Sandbox Code Playgroud)
Then after configuring project ui test target, i need to run
fastlane snapshot
Run Code Online (Sandbox Code Playgroud)
But if I want to provide some build parameters like, xcodebuild test test-only params, how can I do that. For example i want to build like,
xcodebuild test -workspace <path>
-scheme <name>
-destination <specifier>
-only-testing:TestBundleA/TestSuiteA/TestCaseA
-only-testing:TestBundleB/TestSuiteB
-only-testing:TestBundleC
Run Code Online (Sandbox Code Playgroud)
I see,
fastlane snapshot --help
Run Code Online (Sandbox Code Playgroud)
Then I added in Snapfile,
xcargs -only-testing:TestBundleB/TestSuiteB
Run Code Online (Sandbox Code Playgroud)
But this gives error
(eval):36: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' only-testing:TestBundleB/TestSuiteB
How can i solve this error?
归档时间: |
|
查看次数: |
3278 次 |
最近记录: |