Skip to content

Commit

Permalink
Added the "com.apple.product-type.metal-library" PBXProductType. (#576)
Browse files Browse the repository at this point in the history
  • Loading branch information
deatondg authored Oct 28, 2020
1 parent 98ac405 commit 0d4cab8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Sources/XcodeProj/Objects/Targets/PBXProductType.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public enum PBXProductType: String, Decodable {
case instrumentsPackage = "com.apple.product-type.instruments-package"
case intentsServiceExtension = "com.apple.product-type.app-extension.intents-service"
case onDemandInstallCapableApplication = "com.apple.product-type.application.on-demand-install-capable"
case metalLibrary = "com.apple.product-type.metal-library"

/// Returns the file extension for the given product type.
public var fileExtension: String? {
Expand Down Expand Up @@ -56,6 +57,8 @@ public enum PBXProductType: String, Decodable {
return "instrpkg"
case .xcFramework:
return "xcframework"
case .metalLibrary:
return "metallib"
case .none:
return nil
}
Expand Down

0 comments on commit 0d4cab8

Please sign in to comment.