|
| 1 | +//===----------------------------------------------------------------------===// |
| 2 | +// |
| 3 | +// This source file is part of the Swift open source project |
| 4 | +// |
| 5 | +// Copyright (c) 2025 Apple Inc. and the Swift project authors |
| 6 | +// Licensed under Apache License v2.0 with Runtime Library Exception |
| 7 | +// |
| 8 | +// See http://swift.org/LICENSE.txt for license information |
| 9 | +// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors |
| 10 | +// |
| 11 | +//===----------------------------------------------------------------------===// |
| 12 | + |
| 13 | +( |
| 14 | + { |
| 15 | + Type = FileType; |
| 16 | + Identifier = "file.referenceobject"; |
| 17 | + BasedOn = sourcecode; |
| 18 | + Name = "ARKit Reference Object"; |
| 19 | + Extensions = ( |
| 20 | + referenceobject, |
| 21 | + ); |
| 22 | + AppliesToBuildRules = YES; |
| 23 | + IncludeInIndex = YES; |
| 24 | + CanSetIncludeInIndex = YES; |
| 25 | + UTI = "com.apple.arkit.referenceobject"; |
| 26 | + }, |
| 27 | + { |
| 28 | + Type = FileType; |
| 29 | + Identifier = "text.json.xcstrings"; |
| 30 | + BasedOn = text.json; |
| 31 | + Name = "XCStrings files"; |
| 32 | + UTI = "com.apple.xcode.xcstrings"; |
| 33 | + Extensions = ( |
| 34 | + xcstrings, |
| 35 | + ); |
| 36 | + AppliesToBuildRules = YES; |
| 37 | + IncludeInIndex = YES; |
| 38 | + CanSetIncludeInIndex = YES; |
| 39 | + }, |
| 40 | + { |
| 41 | + AppliesToBuildRules = YES; |
| 42 | + CanSetIncludeInIndex = YES; |
| 43 | + Extensions = ( |
| 44 | + rkassets, |
| 45 | + ); |
| 46 | + Identifier = "folder.rkassets"; |
| 47 | + IncludeInIndex = YES; |
| 48 | + IsFolder = YES; |
| 49 | + IsTextFile = NO; |
| 50 | + IsWrapperFolder = YES; |
| 51 | + Name = "Reality Assets"; |
| 52 | + Type = FileType; |
| 53 | + UTI = "com.apple.rkassets"; |
| 54 | + }, |
| 55 | + { |
| 56 | + Type = FileType; |
| 57 | + Identifier = "com.apple.instruments.package-definition"; |
| 58 | + BasedOn = text.xml; |
| 59 | + Name = "Instruments Package Definition"; |
| 60 | + Extensions = (instrpkg); |
| 61 | + AppliesToBuildRules = Yes; |
| 62 | + UTI = "com.apple.instruments.package-definition"; |
| 63 | + }, |
| 64 | + { |
| 65 | + Type = FileType; |
| 66 | + Identifier = "com.apple.instruments.instrdst"; |
| 67 | + BasedOn = wrapper; |
| 68 | + Name = "Instruments Distribution Package"; |
| 69 | + Extensions = (instrdst); |
| 70 | + UTI = "com.apple.instruments.instrdst"; |
| 71 | + }, |
| 72 | + { |
| 73 | + Type = FileType; |
| 74 | + Identifier = "file.intentdefinition"; |
| 75 | + BasedOn = sourcecode; |
| 76 | + Name = "SiriKit Intent Definition"; |
| 77 | + Extensions = ( |
| 78 | + intentdefinition, |
| 79 | + ); |
| 80 | + AppliesToBuildRules = YES; |
| 81 | + IncludeInIndex = YES; |
| 82 | + CanSetIncludeInIndex = YES; |
| 83 | + UTI = "com.apple.sirikit.intentdefinition"; |
| 84 | + "FallbackAutoroutingBuildPhase" = Resources; |
| 85 | + }, |
| 86 | + { |
| 87 | + Name = "XCAppExtensionPoints"; |
| 88 | + Type = FileType; |
| 89 | + Identifier = text.plist.xcappextensionpoints; |
| 90 | + BasedOn = text.plist; |
| 91 | + Extensions = ( |
| 92 | + xcappextensionpoints |
| 93 | + ); |
| 94 | + IsTransparent = NO; |
| 95 | + AppliesToBuildRules = YES; |
| 96 | + UTI = "com.apple.dt.xcappextensionpoints"; |
| 97 | + }, |
| 98 | + { |
| 99 | + Type = FileType; |
| 100 | + Identifier = "file.mlmodel"; |
| 101 | + BasedOn = sourcecode; |
| 102 | + Name = "CoreML Machine Learning Model"; |
| 103 | + Extensions = ( |
| 104 | + mlmodel, |
| 105 | + mlkitmodel, |
| 106 | + ); |
| 107 | + AppliesToBuildRules = YES; |
| 108 | + IncludeInIndex = YES; |
| 109 | + CanSetIncludeInIndex = YES; |
| 110 | + UTI = "com.apple.coreml.model"; |
| 111 | + }, |
| 112 | + { |
| 113 | + Type = FileType; |
| 114 | + Identifier = "folder.mlpackage"; |
| 115 | + BasedOn = wrapper; |
| 116 | + Name = "CoreML Machine Learning Model Package"; |
| 117 | + Extensions = ( |
| 118 | + mlpackage, |
| 119 | + ); |
| 120 | + IsWrapperFolder = YES; |
| 121 | + IsFolder = YES; |
| 122 | + AppliesToBuildRules = YES; |
| 123 | + IncludeInIndex = YES; |
| 124 | + CanSetIncludeInIndex = YES; |
| 125 | + UTI = "com.apple.coreml.mlpackage"; |
| 126 | + }, |
| 127 | + // XDesign file types |
| 128 | + { |
| 129 | + Identifier = wrapper.xcdatamodel; |
| 130 | + Type = FileType; |
| 131 | + // Has to base on 'sourcecode' so that when we are adding data model file to a target, |
| 132 | + // it gets dropped into the source code bucket to be compiled later. |
| 133 | + BasedOn = sourcecode; |
| 134 | + Name = "Data model files"; |
| 135 | + Extensions = (xcdatamodel); |
| 136 | + AppliesToBuildRules = yes; |
| 137 | + |
| 138 | + // from wrapper |
| 139 | + IsWrapperFolder = YES; |
| 140 | + IsFolder = NO; |
| 141 | + IncludeInIndex = YES; |
| 142 | + CanSetIncludeInIndex = YES; |
| 143 | + |
| 144 | + // Don't set encoding |
| 145 | + IsTextFile = NO; |
| 146 | + |
| 147 | + UTI = "com.apple.xcode.model.data"; |
| 148 | + }, |
| 149 | + |
| 150 | + { |
| 151 | + Identifier = wrapper.xcdatamodeld; |
| 152 | + Type = FileType; |
| 153 | + // Has to base on 'sourcecode' so that when we are adding data model file to a target, |
| 154 | + // it gets dropped into the source code bucket to be compiled later. |
| 155 | + BasedOn = sourcecode; |
| 156 | + Name = "Data model version files"; |
| 157 | + Extensions = (xcdatamodeld); |
| 158 | + AppliesToBuildRules = yes; |
| 159 | + |
| 160 | + // from wrapper |
| 161 | + IsWrapperFolder = YES; |
| 162 | + IsFolder = YES; |
| 163 | + IncludeInIndex = YES; |
| 164 | + CanSetIncludeInIndex = YES; |
| 165 | + |
| 166 | + // Don't set encoding |
| 167 | + IsTextFile = NO; |
| 168 | + |
| 169 | + UTI = "com.apple.xcode.model.data-version"; |
| 170 | + }, |
| 171 | + |
| 172 | + { |
| 173 | + Identifier = wrapper.xcmappingmodel; |
| 174 | + Type = FileType; |
| 175 | + // Has to base on 'sourcecode' so that when we are adding data model file to a target, |
| 176 | + // it gets dropped into the source code bucket to be compiled later. |
| 177 | + BasedOn = sourcecode; |
| 178 | + Name = "Mapping model files"; |
| 179 | + Extensions = (xcmappingmodel); |
| 180 | + AppliesToBuildRules = yes; |
| 181 | + |
| 182 | + // from wrapper |
| 183 | + IsWrapperFolder = YES; |
| 184 | + IsFolder = NO; |
| 185 | + IncludeInIndex = YES; |
| 186 | + CanSetIncludeInIndex = YES; |
| 187 | + |
| 188 | + // Don't set encoding |
| 189 | + IsTextFile = NO; |
| 190 | + |
| 191 | + UTI = "com.apple.xcode.model.data-mapping"; |
| 192 | + }, |
| 193 | + |
| 194 | + { |
| 195 | + Identifier = wrapper.xcclassmodel; |
| 196 | + Type = FileType; |
| 197 | + BasedOn = wrapper; |
| 198 | + Name = "Class model files"; |
| 199 | + Extensions = (xcclassmodel); |
| 200 | + IsTransparent = NO; |
| 201 | + AppliesToBuildRules = yes; |
| 202 | + UTI = "com.apple.xcode.model.class"; |
| 203 | + }, |
| 204 | +) |
0 commit comments