How to use xcframework in SwiftPackage and statically link it into iOS product

I want to statically link xcframework as binaryTarget in Swift Package, but it is copied into the product as dynamic when the Xcode build. How to use xcframework in SwiftPackage and statically link it into iOS product?

The Package.swift content and the project are:

The WebP.xcframework is static:

The Xcode Build Product's WebP.framework is dynamic:

How to use xcframework in SwiftPackage and statically link it into iOS product
 
 
Q