From f4061a85b992bfab4e678ed8b1de801648442495 Mon Sep 17 00:00:00 2001 From: fortmarek Date: Mon, 17 Feb 2025 12:58:37 +0100 Subject: [PATCH] fix: model as resource instead of source --- Sources/XcodeGraph/Models/Target.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/XcodeGraph/Models/Target.swift b/Sources/XcodeGraph/Models/Target.swift index 438f5166..6904ba42 100644 --- a/Sources/XcodeGraph/Models/Target.swift +++ b/Sources/XcodeGraph/Models/Target.swift @@ -8,7 +8,7 @@ public struct Target: Equatable, Hashable, Comparable, Codable, Sendable { // Note: The `.docc` file type is technically both a valid source extension and folder extension // in order to compile the documentation archive (including Tutorials, Articles, etc.) public static let validSourceCompatibleFolderExtensions: [String] = [ - "playground", "rcproject", "mlpackage", "docc", "xcmappingmodel", "xcdatamodeld", + "playground", "rcproject", "mlpackage", "docc", ] public static let validSourceExtensions: [String] = [ "m", "swift", "mm", "cpp", "c++", "cc", "c", "d", "s", "intentdefinition", "metal", "mlmodel", "clp", @@ -22,7 +22,7 @@ public struct Target: Equatable, Hashable, Comparable, Codable, Sendable { "xcfilelist", "xcconfig", ] public static let validResourceCompatibleFolderExtensions: [String] = [ - "xcassets", "scnassets", "bundle", "xcstickers", "app", + "xcassets", "scnassets", "bundle", "xcstickers", "app", "xcmappingmodel", "xcdatamodeld", ] public static let validFolderExtensions: [String] = [ "framework", "bundle", "app", "xcassets", "appiconset", "scnassets",