Skip to content

Commit 4946205

Browse files
authored
Fix SPI build (#457)
1 parent 570e0cf commit 4946205

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Package.resolved

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,9 @@ if attributeGraphCondition || renderBoxCondition {
543543
case 2024: [.iOS(.v18), .macOS(.v15), .macCatalyst(.v18), .tvOS(.v18), .watchOS(.v10), .visionOS(.v2)]
544544
default: nil
545545
}
546+
} else {
547+
// For SPI build issue
548+
package.platforms = [.iOS(.v18), .macOS(.v15), .macCatalyst(.v18), .tvOS(.v18), .watchOS(.v10), .visionOS(.v2)]
546549
}
547550

548551
if linkCoreUI {

0 commit comments

Comments
 (0)