1[ 2 { 3 "cmd": [], 4 "name": "ensure xcode", 5 "~followup_annotations": [ 6 "@@@STEP_SUMMARY_TEXT@Ensuring Xcode version 16a242d in [START_DIR]/cache/Xcode.app@@@" 7 ] 8 }, 9 { 10 "cmd": [], 11 "name": "ensure xcode.install infra/tools/mac_toolchain", 12 "~followup_annotations": [ 13 "@@@STEP_NEST_LEVEL@1@@@" 14 ] 15 }, 16 { 17 "cmd": [ 18 "vpython3", 19 "-u", 20 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 21 "--json-output", 22 "/path/to/tmp/json", 23 "ensure-directory", 24 "--mode", 25 "0o777", 26 "[START_DIR]/cipd_tool/infra/tools/mac_toolchain/066a48b36c73b8e8bb0048e40c54a55c86195561cf17d85788968b1a97fabe0a" 27 ], 28 "infra_step": true, 29 "name": "ensure xcode.install infra/tools/mac_toolchain.ensure package directory", 30 "~followup_annotations": [ 31 "@@@STEP_NEST_LEVEL@2@@@" 32 ] 33 }, 34 { 35 "cmd": [ 36 "cipd", 37 "ensure", 38 "-root", 39 "[START_DIR]/cipd_tool/infra/tools/mac_toolchain/066a48b36c73b8e8bb0048e40c54a55c86195561cf17d85788968b1a97fabe0a", 40 "-ensure-file", 41 "infra/tools/mac_toolchain/${platform} git_revision:0cb1e51344de158f72524c384f324465aebbcef2", 42 "-max-threads", 43 "0", 44 "-json-output", 45 "/path/to/tmp/json" 46 ], 47 "infra_step": true, 48 "name": "ensure xcode.install infra/tools/mac_toolchain.ensure_installed", 49 "~followup_annotations": [ 50 "@@@STEP_NEST_LEVEL@2@@@", 51 "@@@STEP_LOG_LINE@json.output@{@@@", 52 "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", 53 "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", 54 "@@@STEP_LOG_LINE@json.output@ {@@@", 55 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-git_revision:0cb\",@@@", 56 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/mac_toolchain/resolved-platform\"@@@", 57 "@@@STEP_LOG_LINE@json.output@ }@@@", 58 "@@@STEP_LOG_LINE@json.output@ ]@@@", 59 "@@@STEP_LOG_LINE@json.output@ }@@@", 60 "@@@STEP_LOG_LINE@json.output@}@@@", 61 "@@@STEP_LOG_END@json.output@@@" 62 ] 63 }, 64 { 65 "cmd": [ 66 "vpython3", 67 "-u", 68 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 69 "--json-output", 70 "/path/to/tmp/json", 71 "listdir", 72 "[START_DIR]/cipd_tool/infra/tools/mac_toolchain" 73 ], 74 "infra_step": true, 75 "name": "ensure xcode.locate mac_toolchain", 76 "~followup_annotations": [ 77 "@@@STEP_NEST_LEVEL@1@@@", 78 "@@@STEP_LOG_LINE@listdir@[START_DIR]/cipd_tool/infra/tools/mac_toolchain/abc123@@@", 79 "@@@STEP_LOG_END@listdir@@@" 80 ] 81 }, 82 { 83 "cmd": [ 84 "ls", 85 "-R", 86 "[START_DIR]/cipd_tool" 87 ], 88 "name": "ensure xcode.ls -R cipd_tool", 89 "~followup_annotations": [ 90 "@@@STEP_NEST_LEVEL@1@@@" 91 ] 92 }, 93 { 94 "cmd": [ 95 "ls", 96 "-R", 97 "[START_DIR]/cipd_tool/infra/tools/mac_toolchain" 98 ], 99 "name": "ensure xcode.ls -R cipd_tool (2)", 100 "~followup_annotations": [ 101 "@@@STEP_NEST_LEVEL@1@@@" 102 ] 103 }, 104 { 105 "cmd": [ 106 "ls", 107 "-alh", 108 "[START_DIR]/cipd_tool/infra/tools/mac_toolchain/abc123/mac_toolchain" 109 ], 110 "name": "ensure xcode.ls -alh mac_toolchain", 111 "~followup_annotations": [ 112 "@@@STEP_NEST_LEVEL@1@@@" 113 ] 114 }, 115 { 116 "cmd": [ 117 "[START_DIR]/cipd_tool/infra/tools/mac_toolchain/abc123/mac_toolchain", 118 "install", 119 "-kind", 120 "ios", 121 "-xcode-version", 122 "16a242d", 123 "-output-dir", 124 "[START_DIR]/cache/Xcode.app" 125 ], 126 "name": "ensure xcode.install xcode", 127 "~followup_annotations": [ 128 "@@@STEP_NEST_LEVEL@1@@@" 129 ] 130 }, 131 { 132 "cmd": [ 133 "sudo", 134 "xcode-select", 135 "-switch", 136 "[START_DIR]/cache/Xcode.app" 137 ], 138 "name": "ensure xcode.select xcode", 139 "~followup_annotations": [ 140 "@@@STEP_NEST_LEVEL@1@@@" 141 ] 142 }, 143 { 144 "name": "$result" 145 } 146]