Bug 243728
Summary: | run time error dyld: Symbol not found: _kIOMainPortDefault | ||
---|---|---|---|
Product: | WebKit | Reporter: | jaybhaskar <jay.bhaskar> |
Component: | ANGLE | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | ap, dino, djg, emw, kbr, kkinnunen, kpiddington, smoley, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
jaybhaskar
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
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
jaybhaskar
mac os version 11.6.3
Alexey Proskuryakov
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.
jaybhaskar
Xcode 13.2.1
Build version 13C100
Elliott Williams
(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)
Radar WebKit Bug Importer
<rdar://problem/98722976>