Execute the run-safari script
to run Safari with the WebKit version you built.
Use the --debug option for a debug build:
run-safari --debug
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.
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.