I'm trying to use libgit2 in an iOS application. I've packaged up libgit2, libssh2, libssl, and libcrypto in XCFrameworks. The XCFrameworks support iOS arm64, simulator, and Catalyst. I want to build a Swift wrapper over the frameworks and deploy them using a Swift Package. When I link against the XCFrameworks directly in my application, I can consume libgit2 by creating a bridging header and #import from libgit2.xcframework. When I move the code into a Swift Package, it fails to build or find libgit2 even though it's part of the package. I can't find any indication of whether I need a bridging header or how to add the bridging header to my Swift package. Here's my Package.swift file: // swift-tools-version:5.3 import PackageDescription let package = Package( name: Git, platforms: [.iOS(.v13)], products: [ .library( name: Git, targets: [ SwiftGit ] ), ], targets: [ .target( name: SwiftGit, dependencies: [ .target(name: libcrypto), .targe
0
0
777