File tree Expand file tree Collapse file tree
packages/platform-apple/src/core Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ export const IOS_DEVICECTL_TIMEOUT_MS = 20_000;
99export const IOS_DEVICECTL_MIN_TIMEOUT_SECONDS = 5 ;
1010
1111export const IOS_DEVICE_INSTALL_TIMEOUT_MS = 120_000 ;
12- export const APPLE_PLIST_TIMEOUT_MS = 15_000 ;
1312export const IOS_APP_UNINSTALL_TIMEOUT_MS = 20_000 ;
1413
1514export const IOS_SIMULATOR_SHOW_TIMEOUT_MS = 10_000 ;
Original file line number Diff line number Diff line change 1- import { APPLE_PLIST_TIMEOUT_MS } from './config.ts' ;
21import { readHostTextFile } from '@agent-device/host-kit/host-file' ;
32import { parseXmlDocumentSync } from '@agent-device/xml' ;
4- import { readApplePlistJson , runAppleToolCommand } from './tool-provider.ts' ;
3+ import {
4+ APPLE_PLIST_TIMEOUT_MS ,
5+ readApplePlistJson ,
6+ runAppleToolCommand ,
7+ } from './tool-provider.ts' ;
58import { visitXmlPlistEntries } from './plist-xml.ts' ;
69
710export async function readInfoPlistString (
Original file line number Diff line number Diff line change 1- import { APPLE_PLIST_TIMEOUT_MS } from './config.ts' ;
21import {
32 coerceExecResult ,
43 runCmd ,
@@ -62,6 +61,8 @@ export type AppleToolProvider = {
6261 whichCommand : AppleToolAvailabilityChecker ;
6362} ;
6463
64+ export const APPLE_PLIST_TIMEOUT_MS = 15_000 ;
65+
6566const localAppleToolProvider : AppleToolProvider = {
6667 runCommand : runCmd ,
6768 simctl : {
You can’t perform that action at this time.
0 commit comments