[webkit-changes] [WebKit/WebKit] bc8b24: Unreviewed, fix iOS engineering builds after 26980...

Wenson Hsieh noreply at github.com
Fri Oct 27 11:50:09 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bc8b248df94aae5c73029e5ad03fff6ee99a1431
      https://github.com/WebKit/WebKit/commit/bc8b248df94aae5c73029e5ad03fff6ee99a1431
  Author: Wenson Hsieh <wenson_hsieh at apple.com>
  Date:   2023-10-27 (Fri, 27 Oct 2023)

  Changed paths:
    M Tools/TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig

  Log Message:
  -----------
  Unreviewed, fix iOS engineering builds after 269802 at main

Fix the following build error:

```
TestWebKitAPI Ld TestWebKitAPI
Undefined symbols for architecture arm64e:
  "_CGImageDestinationAddImage", referenced from:
      WebKit::transcode(CGImage*, __CFString const*) in libWebKitPlatform.a(PlatformUnifiedSource1-mm.o)
  "_CGImageDestinationCreateWithData", referenced from:
      WebKit::transcode(CGImage*, __CFString const*) in libWebKitPlatform.a(PlatformUnifiedSource1-mm.o)
  "_CGImageDestinationFinalize", referenced from:
      WebKit::transcode(CGImage*, __CFString const*) in libWebKitPlatform.a(PlatformUnifiedSource1-mm.o)
  "_CGImageSourceCreateImageAtIndex", referenced from:
      WebKit::requestBackgroundRemoval(CGImage*, WTF::CompletionHandler<void (CGImage*)>&&) in libWebKitPlatform.a(PlatformUnifiedSource1-mm.o)
  "_CGImageSourceCreateWithData", referenced from:
      WebKit::requestBackgroundRemoval(CGImage*, WTF::CompletionHandler<void (CGImage*)>&&) in libWebKitPlatform.a(PlatformUnifiedSource1-mm.o)
ld: symbol(s) not found for architecture arm64e
clang: error: linker command failed with exit code 1 (use -v to see invocation)
```

...by linking against ImageIO in configurations where `ENABLE(IMAGE_ANALYSIS_ENHANCEMENTS)` is set.

* Tools/TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:

Canonical link: https://commits.webkit.org/269862@main




More information about the webkit-changes mailing list