(params: BuildDeviceParams)
| 31 | import { createBuildInvocationFragment } from '../../../utils/xcodebuild-pipeline.ts'; |
| 32 | |
| 33 | function createBuildDeviceRequest(params: BuildDeviceParams): BuildInvocationRequest { |
| 34 | return { |
| 35 | scheme: params.scheme, |
| 36 | workspacePath: params.workspacePath, |
| 37 | projectPath: params.projectPath, |
| 38 | derivedDataPath: resolveEffectiveDerivedDataPath(params), |
| 39 | configuration: params.configuration ?? 'Debug', |
| 40 | platform: String(mapDevicePlatform(params.platform)), |
| 41 | target: 'device', |
| 42 | }; |
| 43 | } |
| 44 | |
| 45 | const baseSchemaObject = z.object({ |
| 46 | projectPath: z.string().optional().describe('Path to the .xcodeproj file'), |
no test coverage detected