After building Webkit, it is giving the following error ./Tools/Scripts/run-safari Starting SafariForWebKitDevelopment with DYLD_FRAMEWORK_PATH set to point to built WebKit in ~/WebKit/WebKitBuild/Release. dyld: Symbol not found: _kIOMainPortDefault Referenced from: ~/WebKit/WebKitBuild/Release/libANGLE-shared.dylib (which was built for Mac OS X 12.1) Expected in: /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
mac os version 11.6.3
What version of Xcode do you have? We only support building with the major version that is aligned with macOS, not any newer major version of Xcode. This is not a great situation, but this is what we have right now.
Xcode 13.2.1 Build version 13C100
(In reply to jaybhaskar from comment #3) > Xcode 13.2.1 > Build version 13C100 Right, so as Alexey is saying, you need an Xcode that includes an SDK for your version of macOS. Xcode 12.5.1 is the latest version which can target macOS 11. So your options are: - Download and install Xcode 12.5.1 - Upgrade your system to macOS Monterey The version table here is helpful for matching Xcode versions to SDK versions: https://en.wikipedia.org/wiki/Xcode#Xcode_11.0_-_14.x_(since_SwiftUI_framework)
<rdar://problem/98722976>