import path from 'node:path'; export const DEFAULT_TEST_BUNDLE_SUFFIX = '.xctrunner'; export const WDA_RUNNER_BUNDLE_ID = 'com.facebook.WebDriverAgentRunner'; export const WDA_RUNNER_BUNDLE_ID_FOR_XCTEST = `${WDA_RUNNER_BUNDLE_ID}${DEFAULT_TEST_BUNDLE_SUFFIX}`; export const WDA_RUNNER_APP = 'WebDriverAgentRunner-Runner.app'; export const PROJECT_FILE = 'project.pbxproj'; export const WDA_BASE_URL = 'http://127.0.0.1'; export const PLATFORM_NAME_TVOS = 'tvOS'; export const PLATFORM_NAME_WATCHOS = 'watchOS'; export const PLATFORM_NAME_IOS = 'iOS'; export const SDK_DEVICE = 'iphoneos'; /** * @deprecated The WDA upgrade timestamp path is no longer used. */ export const WDA_UPGRADE_TIMESTAMP_PATH = path.join('.appium', 'webdriveragent', 'upgrade.time'); /** * Harmless unused build setting override appended to every xcodebuild invocation * this package starts. It has no effect on the build itself, but shows up verbatim * in the process' command line, letting us tell our own xcodebuild processes apart * from unrelated ones (e.g. other WDA-based test runners) that happen to target the * same device udid. */ export const XCODEBUILD_PROCESS_MARKER = 'APPIUM_XCODEBUILD_WDA_MARKER=1';