Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Sources/SwiftBuildSupport/PackagePIFBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -392,8 +392,10 @@ public final class PackagePIFBuilder {
init(from pifProductType: ProjectModel.Target.ProductType) {
self = switch pifProductType {
case .application: .application
case .commonStaticArchive: .staticArchive
case .staticArchive: .staticArchive
case .commonObject: .commonObject
case .objectFile: .commonObject
case .dynamicLibrary: .dynamicLibrary
case .framework: .framework
case .executable: .executable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,10 @@ extension PackagePIFProjectBuilder {
productType = .framework
}

case .staticLibrary, .executable:
case .staticLibrary:
productType = .commonStaticArchive

case .executable:
productType = .commonObject

case .macro:
Expand Down
Loading