Bug 245206 - iOS 16 device build failing in WebCore: ld: framework not found IOSurfaceAccelerator
Summary: iOS 16 device build failing in WebCore: ld: framework not found IOSurfaceAcce...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jonathan Bedard
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-09-14 17:17 PDT by Ryan Haddad
Modified: 2022-10-13 10:38 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Haddad 2022-09-14 17:17:40 PDT
From one of our first iOS 16 device builds: 

Ld /Volumes/Data/worker/Apple-iOS-16-Release-Build/build/WebKitBuild/Release-iphoneos/WebCore.framework/WebCore normal (in target 'WebCore' from project 'WebCore')
    cd /Volumes/Data/worker/Apple-iOS-16-Release-Build/build/Source/WebCore
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target arm64-apple-ios16.0 -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.0.sdk -L/Volumes/Data/worker/Apple-iOS-16-Release-Build/build/WebKitBuild/EagerLinkingTBDs -L/Volumes/Data/worker/Apple-iOS-16-Release-Build/build/WebKitBuild/Release-iphoneos -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.0.sdk/usr/local/lib -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.0.sdk/System/Library/PrivateFrameworks/WebCore.framework/Frameworks -F/Volumes/Data/worker/Apple-iOS-16-Release-Build/build/WebKitBuild/EagerLinkingTBDs -F/Volumes/Data/worker/Apple-iOS-16-Release-Build/build/WebKitBuild/Release-iphoneos -F/Volumes/Data/worker/Apple-iOS-16-Release-Build/build/WebKitBuild/Release-iphoneos -F/Volumes/Data/worker/Apple-iOS-16-Release-Build/build/Source/WebCore/../../WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/16 -iframework /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.0.sdk/System/Library/PrivateFrameworks -iframework /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.0.sdk/System/Library/Frameworks -filelist /Volumes/Data/worker/Apple-iOS-16-Release-Build/build/WebKitBuild/WebCore.build/Release-iphoneos/WebCore.build/Objects-normal/arm64/WebCore.LinkFileList -unexported_symbols_list Configurations/WebCore.unexp -install_name /System/Library/PrivateFrameworks/WebCore.framework/WebCore -dead_strip -Xlinker -object_path_lto -Xlinker /Volumes/Data/worker/Apple-iOS-16-Release-Build/build/WebKitBuild/WebCore.build/Release-iphoneos/WebCore.build/Objects-normal/arm64/WebCore_lto.o -stdlib\=libc++ -fobjc-link-runtime -lsqlite3 -lobjc -allowable_client WebCoreTestSupport -allowable_client WebKitLegacy -allowable_client TestIPC -force_load /Volumes/Data/worker/Apple-iOS-16-Release-Build/build/WebKitBuild/Release-iphoneos/libPAL.a -framework CFNetwork -framework CoreAudio -framework CoreGraphics -framework CoreText -framework Foundation -framework IOSurface -framework ImageIO -framework Metal -allowable_client WebKit -allowable_client iTunesU -allowable_client Casablanca -allowable_client Remote -allowable_client TVBooks -allowable_client DumpRenderTree -allowable_client WebKitTestRunner -allowable_client TestWebKitAPI -weak-lANGLE-shared -weak_framework WebGPU -framework AppSupport -framework GraphicsServices -framework IOSurfaceAccelerator -framework VideoToolbox -framework CoreMedia -weak-lwebrtc -framework MobileCoreServices -lMobileGestalt -framework NetworkExtension -framework CoreImage -framework URLFormatting -Xlinker -source_version -Xlinker 615.1.4.0.0 -Xlinker -no_inits -framework Accelerate -framework AudioToolbox -framework IOKit -framework JavaScriptCore -weak-lAccessibility -lcompression -licucore -lobjc /Volumes/Data/worker/Apple-iOS-16-Release-Build/build/WebKitBuild/Release-iphoneos/libPAL.a -lxml2 -lz -framework QuartzCore -framework Security -compatibility_version 1 -current_version 615.1.4 -Xlinker -dependency_info -Xlinker /Volumes/Data/worker/Apple-iOS-16-Release-Build/build/WebKitBuild/WebCore.build/Release-iphoneos/WebCore.build/Objects-normal/arm64/WebCore_dependency_info.dat -o /Volumes/Data/worker/Apple-iOS-16-Release-Build/build/WebKitBuild/Release-iphoneos/WebCore.framework/WebCore
ld: warning: directory not found for option '-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.0.sdk/usr/local/lib'
ld: warning: directory not found for option '-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.0.sdk/System/Library/PrivateFrameworks/WebCore.framework/Frameworks'
** BUILD FAILED **
The following build commands failed:
	Ld /Volumes/Data/worker/Apple-iOS-16-Release-Build/build/WebKitBuild/Release-iphoneos/WebCore.framework/WebCore normal (in target 'WebCore' from project 'WebCore')
(1 failure)
ld: framework not found IOSurfaceAccelerator
clang: error: linker command failed with exit

https://build.webkit.org/#/builders/661/builds/2/steps/9/logs/stdio
Comment 1 Radar WebKit Bug Importer 2022-09-14 19:45:19 PDT
<rdar://problem/99949028>
Comment 2 Elliott Williams 2022-09-15 12:30:59 PDT
Pull request: https://github.com/WebKit/WebKit/pull/4395
Comment 3 EWS 2022-09-15 12:32:36 PDT
Committed 254525@main (f8cfeb9c0076): <https://commits.webkit.org/254525@main>

Reviewed commits have been landed. Closing PR #4395 and removing active labels.
Comment 4 Jonathan Bedard 2022-10-10 16:18:40 PDT
Re-opening for pull request https://github.com/apple/WebKit/pull/106
Comment 5 EWS 2022-10-13 10:38:03 PDT
Committed 252432.567@safari-7614-branch (d09b8b302cad): <https://commits.webkit.org/252432.567@safari-7614-branch>

Reviewed commits have been landed. Closing PR #120 and removing active labels.