WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
243728
run time error dyld: Symbol not found: _kIOMainPortDefault
https://bugs.webkit.org/show_bug.cgi?id=243728
Summary
run time error dyld: Symbol not found: _kIOMainPortDefault
jaybhaskar
Reported
2022-08-09 07:47:56 PDT
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
Comment 1
2022-08-09 07:49:02 PDT
mac os version 11.6.3
Alexey Proskuryakov
Comment 2
2022-08-09 16:20:47 PDT
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
Comment 3
2022-08-09 21:04:17 PDT
Xcode 13.2.1 Build version 13C100
Elliott Williams
Comment 4
2022-08-10 10:00:20 PDT
(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
Comment 5
2022-08-16 07:48:14 PDT
<
rdar://problem/98722976
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug