Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f9833d60b73b7476fdcd95a029311b40d15ee901
      
https://github.com/WebKit/WebKit/commit/f9833d60b73b7476fdcd95a029311b40d15ee901
  Author: Andy Estes <aes...@apple.com>
  Date:   2025-03-21 (Fri, 21 Mar 2025)

  Changed paths:
    M Source/WebKit/Configurations/WebKitSwift.xcconfig

  Log Message:
  -----------
  [visionOS] Warning in LinearMediaPlayer.swift: "Private module 
'LinearMediaKit' is imported publicly from the public module 'libWebKitSwift'"
https://bugs.webkit.org/show_bug.cgi?id=290143
rdar://147543289

Reviewed by Elliott Williams.

Because libWebKitSwift.dylib is installed inside 
/System/Library/Frameworks/WebKit.framework, the
Xcode build system emits the following warning when Swift sources in 
WebKitSwift import a private
module, e.g., LinearMediaKit:

    Private module 'LinearMediaKit' is imported publicly from the public module 
'libWebKitSwift'

The build system thinks WebKitSwift is a public module based on its 
INSTALL_PATH, but in reality
WebKitSwift does not contribute its Swift module to Public or Internal SDKs and 
should be
considered neither a public nor private module.

Silenced this warning by setting SWIFT_LIBRARY_LEVEL to other.

* Source/WebKit/Configurations/WebKitSwift.xcconfig:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to