Failed to archive build with latest SwiftUI code
gongzhang opened this issue · 2 comments
gongzhang commented
gongzhang commented
I found that you can fix it by simply change the deployment target from v10
to v11
in Package.swift
:
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "SPConfetti",
platforms: [
.iOS(.v10), .tvOS(.v10) // <== ✅ .iOS(.v11) , .tvOS(.v10)
],
...
Maybe helpful:
https://forums.swift.org/t/platform-per-target/29253
ivanvorobei commented
You right, I changed target for cocoapods before, but forgot about SPM. In version 1.3.3
it has been fixed, please, update.