@@ -71,40 +71,20 @@ describe('list_schemes plugin', () => {
7171 text : 'Hint: Consider saving a default scheme with session-set-defaults { scheme: "MyProject" } to avoid repeating it.' ,
7272 } ,
7373 ] ,
74- nextSteps : [
75- {
76- tool : 'build_macos' ,
77- label : 'Build for macOS' ,
78- params : { projectPath : '/path/to/MyProject.xcodeproj' , scheme : 'MyProject' } ,
79- priority : 1 ,
80- } ,
81- {
82- tool : 'build_run_sim' ,
83- label : 'Build and run on iOS Simulator (default for run intent)' ,
84- params : {
85- projectPath : '/path/to/MyProject.xcodeproj' ,
86- scheme : 'MyProject' ,
87- simulatorName : 'iPhone 16' ,
88- } ,
89- priority : 2 ,
74+ nextStepParams : {
75+ build_macos : { projectPath : '/path/to/MyProject.xcodeproj' , scheme : 'MyProject' } ,
76+ build_run_sim : {
77+ projectPath : '/path/to/MyProject.xcodeproj' ,
78+ scheme : 'MyProject' ,
79+ simulatorName : 'iPhone 16' ,
9080 } ,
91- {
92- tool : 'build_sim' ,
93- label : 'Build for iOS Simulator (compile-only)' ,
94- params : {
95- projectPath : '/path/to/MyProject.xcodeproj' ,
96- scheme : 'MyProject' ,
97- simulatorName : 'iPhone 16' ,
98- } ,
99- priority : 3 ,
81+ build_sim : {
82+ projectPath : '/path/to/MyProject.xcodeproj' ,
83+ scheme : 'MyProject' ,
84+ simulatorName : 'iPhone 16' ,
10085 } ,
101- {
102- tool : 'show_build_settings' ,
103- label : 'Show build settings' ,
104- params : { projectPath : '/path/to/MyProject.xcodeproj' , scheme : 'MyProject' } ,
105- priority : 4 ,
106- } ,
107- ] ,
86+ show_build_settings : { projectPath : '/path/to/MyProject.xcodeproj' , scheme : 'MyProject' } ,
87+ } ,
10888 isError : false ,
10989 } ) ;
11090 } ) ;
@@ -175,7 +155,6 @@ describe('list_schemes plugin', () => {
175155 text : '' ,
176156 } ,
177157 ] ,
178- nextSteps : [ ] ,
179158 isError : false ,
180159 } ) ;
181160 } ) ;
@@ -319,40 +298,20 @@ describe('list_schemes plugin', () => {
319298 text : 'Hint: Consider saving a default scheme with session-set-defaults { scheme: "MyApp" } to avoid repeating it.' ,
320299 } ,
321300 ] ,
322- nextSteps : [
323- {
324- tool : 'build_macos' ,
325- label : 'Build for macOS' ,
326- params : { workspacePath : '/path/to/MyProject.xcworkspace' , scheme : 'MyApp' } ,
327- priority : 1 ,
328- } ,
329- {
330- tool : 'build_run_sim' ,
331- label : 'Build and run on iOS Simulator (default for run intent)' ,
332- params : {
333- workspacePath : '/path/to/MyProject.xcworkspace' ,
334- scheme : 'MyApp' ,
335- simulatorName : 'iPhone 16' ,
336- } ,
337- priority : 2 ,
301+ nextStepParams : {
302+ build_macos : { workspacePath : '/path/to/MyProject.xcworkspace' , scheme : 'MyApp' } ,
303+ build_run_sim : {
304+ workspacePath : '/path/to/MyProject.xcworkspace' ,
305+ scheme : 'MyApp' ,
306+ simulatorName : 'iPhone 16' ,
338307 } ,
339- {
340- tool : 'build_sim' ,
341- label : 'Build for iOS Simulator (compile-only)' ,
342- params : {
343- workspacePath : '/path/to/MyProject.xcworkspace' ,
344- scheme : 'MyApp' ,
345- simulatorName : 'iPhone 16' ,
346- } ,
347- priority : 3 ,
308+ build_sim : {
309+ workspacePath : '/path/to/MyProject.xcworkspace' ,
310+ scheme : 'MyApp' ,
311+ simulatorName : 'iPhone 16' ,
348312 } ,
349- {
350- tool : 'show_build_settings' ,
351- label : 'Show build settings' ,
352- params : { workspacePath : '/path/to/MyProject.xcworkspace' , scheme : 'MyApp' } ,
353- priority : 4 ,
354- } ,
355- ] ,
313+ show_build_settings : { workspacePath : '/path/to/MyProject.xcworkspace' , scheme : 'MyApp' } ,
314+ } ,
356315 isError : false ,
357316 } ) ;
358317 } ) ;
0 commit comments