(args, derivedDataPath)
| 707 | } |
| 708 | |
| 709 | function xcodebuildBaseArgs(args, derivedDataPath) { |
| 710 | const buildArgs = []; |
| 711 | if (args.workspace) { |
| 712 | buildArgs.push("-workspace", path.resolve(String(args.workspace))); |
| 713 | } else if (args.project) { |
| 714 | buildArgs.push("-project", path.resolve(String(args.project))); |
| 715 | } |
| 716 | buildArgs.push("-scheme", String(args.scheme)); |
| 717 | buildArgs.push("-configuration", String(args.configuration ?? "Debug")); |
| 718 | buildArgs.push( |
| 719 | "-destination", |
| 720 | String(args.destination ?? "generic/platform=iOS Simulator"), |
| 721 | ); |
| 722 | buildArgs.push("-derivedDataPath", derivedDataPath); |
| 723 | return buildArgs; |
| 724 | } |
| 725 | |
| 726 | function readXcodeBuildSettings(buildArgs, targetName) { |
| 727 | const output = runText("xcodebuild", [ |
no outgoing calls
no test coverage detected