You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// swift-tools-version: 6.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
letpackage=Package(
name:"SimplePackage",
platforms:[.iOS(.v16)],
products:[.library(
name:"SimplePackage",
targets:["SimplePackage"]),],
dependencies:[.package(url:"https://github.com/SDWebImage/SDWebImageSwiftUI", from:"3.1.3"),],
targets:[.binaryTarget(
name:"SimpleFramework", // My Framework that has dependency on SDWebImageSwiftUI
path:"Sources/SimpleFramework.xcframework"),.target(
name:"SimplePackage",
dependencies:["SimpleFramework","SDWebImageSwiftUI"])])
Download swift package from another project and import my framework.
I've checked 'SDWebImage' is downloaded. How can I fix this? Is there anything wrong with the setup? I also tried adding depdency of 'SDWebImage' in Package.swift file, but error remains same.
The text was updated successfully, but these errors were encountered:
Hi, all.
I have a xcframework that has a dependency on 'SDWebImageSwiftUI'. I deployed it through SPM, and I downloaded it with SPM in another project.
When I build it, it shows 'Missing required module 'SDWebImage'' error at the xcframework's swiftinterface file.
Below picture is a swiftinterface file of my xcframework.
Steps to reproduce
I've checked 'SDWebImage' is downloaded. How can I fix this? Is there anything wrong with the setup? I also tried adding depdency of 'SDWebImage' in Package.swift file, but error remains same.
The text was updated successfully, but these errors were encountered: