Running WebKit

OS X

In Terminal, run the following command:

run-safari

The run-safari script sets the DYLD_FRAMEWORK_PATH environment variable to point to your build products, and then launches /Applications/Safari.app. DYLD_FRAMEWORK_PATH tells the system loader to prefer your build products over the frameworks installed in /System/Library/Frameworks.

Run-webkit-app

run-webkit-app [Example]

The run-webkit-app script sets the DYLD_FRAMEWORK_PATH environment variable to point to your build products, and then launches the specified app. The script takes an application name or path as an argument.

iOS Simulator

Follow the instructions below, passing the --ios-simulator option. Execute the run-safari script to run Safari with the WebKit version you built.

run-safari --ios-simulator

Use the --debug option for a debug build:

run-safari --debug

Windows

The run-safari script launches the Safari executable with the /frameworkPath command line switch set to point to your build products. The /debug command line switch will be set if you pass –debug to run-safari.