After building using build-webkit script. ./Tools/Scripts/run-safari Giving the following error. com.apple.WebKit.WebContent.Development[1326:8881] InjectedBundle::load failed - loadAndReturnError failed, error: Error Domain=NSCocoaErrorDomain Code=3588 "dlopen(/Library/Apple/System/Library/StagedFrameworks/Safari/Safari.framework/Safari, 0x0109): Symbol not found: (_WBSCloudPerSiteSettingDomain) Referenced from: '/Library/Apple/System/Library/StagedFrameworks/Safari/Safari.framework/Versions/A/Safari' Expected in: '/System/Library/PrivateFrameworks/SafariShared.framework/Versions/A/SafariShared'" UserInfo={NSLocalizedFailureReason=The bundle couldn’t be loaded., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Library/Apple/System/Library/StagedFrameworks/Safari/Safari.framework/Safari, NSDebugDescription=dlopen(/Library/Apple/System/Library/StagedFrameworks/Safari/Safari.framework/Safari, 0x0109): Symbol not found: (_WBSCloudPerSiteSettingDomain)
You'll likely have to disable System Integrity Protection for this to work. Fixing this is outside WebKit, and is tracked by Apple internally.
<rdar://problem/104987610>