Skip to content

Commit e609e68

Browse files
Update app path function names in test and build utility files
Co-authored-by: web <web@cameroncooke.com>
1 parent 6f95e41 commit e609e68

File tree

5 files changed

+9
-11
lines changed

5 files changed

+9
-11
lines changed

src/mcp/tools/device/__tests__/build_device.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ describe('build_device plugin', () => {
209209
},
210210
{
211211
type: 'text',
212-
text: 'Next Steps:\n1. Get App Path: get_ios_device_app_path_project\n2. Get Bundle ID: get_ios_bundle_id',
212+
text: 'Next Steps:\n1. Get App Path: get_device_app_path\n2. Get Bundle ID: get_ios_bundle_id',
213213
},
214214
],
215215
});

src/mcp/tools/macos/__tests__/build_macos.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ describe('build_macos plugin', () => {
7979
},
8080
{
8181
type: 'text',
82-
text: 'Next Steps:\n1. Get App Path: get_macos_app_path_project\n2. Get Bundle ID: get_macos_bundle_id\n3. Launch App: launch_macos_app',
82+
text: 'Next Steps:\n1. Get App Path: get_macos_app_path\n2. Get Bundle ID: get_macos_bundle_id\n3. Launch App: launch_macos_app',
8383
},
8484
],
8585
});
@@ -141,7 +141,7 @@ describe('build_macos plugin', () => {
141141
},
142142
{
143143
type: 'text',
144-
text: 'Next Steps:\n1. Get App Path: get_macos_app_path_project\n2. Get Bundle ID: get_macos_bundle_id\n3. Launch App: launch_macos_app',
144+
text: 'Next Steps:\n1. Get App Path: get_macos_app_path\n2. Get Bundle ID: get_macos_bundle_id\n3. Launch App: launch_macos_app',
145145
},
146146
],
147147
});

src/mcp/tools/macos/__tests__/build_run_macos.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ describe('build_run_macos', () => {
198198
},
199199
{
200200
type: 'text',
201-
text: 'Next Steps:\n1. Get App Path: get_macos_app_path_project\n2. Get Bundle ID: get_macos_bundle_id\n3. Launch App: launch_macos_app',
201+
text: 'Next Steps:\n1. Get App Path: get_macos_app_path\n2. Get Bundle ID: get_macos_bundle_id\n3. Launch App: launch_macos_app',
202202
},
203203
{
204204
type: 'text',
@@ -294,7 +294,7 @@ describe('build_run_macos', () => {
294294
},
295295
{
296296
type: 'text',
297-
text: 'Next Steps:\n1. Get App Path: get_macos_app_path_workspace\n2. Get Bundle ID: get_macos_bundle_id\n3. Launch App: launch_macos_app',
297+
text: 'Next Steps:\n1. Get App Path: get_macos_app_path\n2. Get Bundle ID: get_macos_bundle_id\n3. Launch App: launch_macos_app',
298298
},
299299
{
300300
type: 'text',
@@ -375,7 +375,7 @@ describe('build_run_macos', () => {
375375
},
376376
{
377377
type: 'text',
378-
text: 'Next Steps:\n1. Get App Path: get_macos_app_path_project\n2. Get Bundle ID: get_macos_bundle_id\n3. Launch App: launch_macos_app',
378+
text: 'Next Steps:\n1. Get App Path: get_macos_app_path\n2. Get Bundle ID: get_macos_bundle_id\n3. Launch App: launch_macos_app',
379379
},
380380
{
381381
type: 'text',
@@ -438,7 +438,7 @@ describe('build_run_macos', () => {
438438
},
439439
{
440440
type: 'text',
441-
text: 'Next Steps:\n1. Get App Path: get_macos_app_path_project\n2. Get Bundle ID: get_macos_bundle_id\n3. Launch App: launch_macos_app',
441+
text: 'Next Steps:\n1. Get App Path: get_macos_app_path\n2. Get Bundle ID: get_macos_bundle_id\n3. Launch App: launch_macos_app',
442442
},
443443
{
444444
type: 'text',

src/mcp/tools/macos/__tests__/get_macos_app_path.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,6 @@ describe('get_macos_app_path plugin', () => {
107107
'MyScheme',
108108
'-configuration',
109109
'Debug',
110-
'-destination',
111-
'platform=macOS',
112110
],
113111
'Get App Path',
114112
true,

src/utils/build-utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,12 +298,12 @@ Future builds will use the generated Makefile for improved performance.
298298
if (buildAction === 'build') {
299299
if (platformOptions.platform === XcodePlatform.macOS) {
300300
additionalInfo = `Next Steps:
301-
1. Get App Path: get_macos_app_path_${params.workspacePath ? 'workspace' : 'project'}
301+
1. Get App Path: get_macos_app_path
302302
2. Get Bundle ID: get_macos_bundle_id
303303
3. Launch App: launch_macos_app`;
304304
} else if (platformOptions.platform === XcodePlatform.iOS) {
305305
additionalInfo = `Next Steps:
306-
1. Get App Path: get_ios_device_app_path_${params.workspacePath ? 'workspace' : 'project'}
306+
1. Get App Path: get_device_app_path
307307
2. Get Bundle ID: get_ios_bundle_id`;
308308
} else if (isSimulatorPlatform) {
309309
const idOrName = platformOptions.simulatorId ? 'id' : 'name';

0 commit comments

Comments
 (0)