diff --git a/lib/xcodebuild.js b/lib/xcodebuild.js index 54add615e..041d24ebe 100644 --- a/lib/xcodebuild.js +++ b/lib/xcodebuild.js @@ -36,6 +36,8 @@ const IGNORED_ERRORS_PATTERN = new RegExp( const RUNNER_SCHEME_TV = 'WebDriverAgentRunner_tvOS'; const LIB_SCHEME_TV = 'WebDriverAgentLib_tvOS'; +const REAL_DEVICES_CONFIG_DOCS_LINK = 'https://appium.github.io/appium-xcuitest-driver/latest/preparation/real-device-config/'; + const xcodeLog = logger.getLogger('Xcode'); @@ -378,8 +380,7 @@ export class XcodeBuild { ` order to check the Appium server log for build-related error messages.`; } else if (this.realDevice) { errorMessage += ` Consider checking the WebDriverAgent configuration guide` + - ` for real iOS devices at` + - ` https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md.`; + ` for real iOS devices at ${REAL_DEVICES_CONFIG_DOCS_LINK}.`; } return reject(new Error(errorMessage)); }