diff --git a/pbxproj/pbxextensions/ProjectFiles.py b/pbxproj/pbxextensions/ProjectFiles.py index 9057c8d..f20776d 100644 --- a/pbxproj/pbxextensions/ProjectFiles.py +++ b/pbxproj/pbxextensions/ProjectFiles.py @@ -79,59 +79,58 @@ class ProjectFiles: '': ('text', 'PBXResourcesBuildPhase'), '.a': ('archive.ar', 'PBXFrameworksBuildPhase'), '.app': ('wrapper.application', None), - '.s': ('sourcecode.asm', 'PBXSourcesBuildPhase'), + '.as': ('sourcecode.actionscript', 'PBXSourcesBuildPhase'), + '.asm': ('sourcecode.asm', 'PBXSourcesBuildPhase'), + '.bin': ('archive.macbinary', 'PBXResourcesBuildPhase'), + '.blend': ('file.blender', 'PBXResourcesBuildPhase'), + '.bundle': ('wrapper.plug-in', 'PBXResourcesBuildPhase'), '.c': ('sourcecode.c.c', 'PBXSourcesBuildPhase'), '.cpp': ('sourcecode.cpp.cpp', 'PBXSourcesBuildPhase'), + '.d': ('sourcecode.dtrace', 'PBXSourcesBuildPhase'), + '.def': ('text', 'PBXResourcesBuildPhase'), + '.dylib': ('compiled.mach-o.dylib', 'PBXFrameworksBuildPhase'), + '.entitlements': ('text.plist.entitlements', 'PBXResourcesBuildPhase'), + '.frag': ('sourcecode.glsl', 'PBXResourcesBuildPhase'), '.framework': ('wrapper.framework', 'PBXFrameworksBuildPhase'), - '.xcframework': ('wrapper.xcframework', 'PBXFrameworksBuildPhase'), '.h': ('sourcecode.c.h', 'PBXHeadersBuildPhase'), '.hpp': ('sourcecode.c.h', 'PBXHeadersBuildPhase'), - '.pch': ('sourcecode.c.h', 'PBXHeadersBuildPhase'), - '.d': ('sourcecode.dtrace', 'PBXSourcesBuildPhase'), - '.def': ('text', 'PBXResourcesBuildPhase'), - '.swift': ('sourcecode.swift', 'PBXSourcesBuildPhase'), + '.html':('text.html', 'PBXResourcesBuildPhase'), '.icns': ('image.icns', 'PBXResourcesBuildPhase'), - '.m': ('sourcecode.c.objc', 'PBXSourcesBuildPhase'), + '.inl': ('sourcecode.c.h', 'PBXHeadersBuildPhase'), '.j': ('sourcecode.c.objc', 'PBXSourcesBuildPhase'), + '.jfif': ('image.jfif', 'PBXResourcesBuildPhase'), + '.jpg': ('image.jpg', 'PBXResourcesBuildPhase'), + '.json': ('text.json', 'PBXResourcesBuildPhase'), + '.m': ('sourcecode.c.objc', 'PBXSourcesBuildPhase'), + '.md': ('text', 'PBXResourcesBuildPhase'), + '.mesh': ('file.mesh', 'PBXResourcesBuildPhase'), + '.mlmodel':('file.mlmodel', 'PBXSourcesBuildPhase'), '.mm': ('sourcecode.cpp.objcpp', 'PBXSourcesBuildPhase'), '.nib': ('wrapper.nib', 'PBXResourcesBuildPhase'), + '.ogg': ('audio.ogg', 'PBXResourcesBuildPhase'), + '.pch': ('sourcecode.c.h', 'PBXHeadersBuildPhase'), '.plist': ('text.plist.xml', 'PBXResourcesBuildPhase'), - '.json': ('text.json', 'PBXResourcesBuildPhase'), '.png': ('image.png', 'PBXResourcesBuildPhase'), - '.jpg': ('image.jpg', 'PBXResourcesBuildPhase'), + '.py': ('sourcecode.python', 'PBXSourcesBuildPhase'), '.rtf': ('text.rtf', 'PBXResourcesBuildPhase'), + '.S': ('sourcecode.asm', 'PBXSourcesBuildPhase'), + '.scene': ('file.scene', 'PBXResourcesBuildPhase'), + '.strings': ('text.plist.strings', 'PBXResourcesBuildPhase'), + '.swift': ('sourcecode.swift', 'PBXSourcesBuildPhase'), + '.tbd': ('sourcecode.text-based-dylib-definition', 'PBXFrameworksBuildPhase'), '.tiff': ('image.tiff', 'PBXResourcesBuildPhase'), + '.ttf': ('file.ttf', 'PBXResourcesBuildPhase'), '.txt': ('text', 'PBXResourcesBuildPhase'), - '.xcodeproj': ('wrapper.pb-project', None), - '.xib': ('file.xib', 'PBXResourcesBuildPhase'), - '.strings': ('text.plist.strings', 'PBXResourcesBuildPhase'), - '.bundle': ('wrapper.plug-in', 'PBXResourcesBuildPhase'), - '.dylib': ('compiled.mach-o.dylib', 'PBXFrameworksBuildPhase'), - '.xcdatamodeld': ('wrapper.xcdatamodel', 'PBXSourcesBuildPhase'), + '.vert': ('sourcecode.glsl', 'PBXResourcesBuildPhase'), + '.wav': ('audio.wav', 'PBXResourcesBuildPhase'), '.xcassets': ('folder.assetcatalog', 'PBXResourcesBuildPhase'), '.xcconfig': ('sourcecode.xcconfig', 'PBXSourcesBuildPhase'), - '.tbd': ('sourcecode.text-based-dylib-definition', 'PBXFrameworksBuildPhase'), - '.bin': ('archive.macbinary', 'PBXResourcesBuildPhase'), - '.mlmodel':('file.mlmodel', 'PBXSourcesBuildPhase'), - '.html':('text.html', 'PBXResourcesBuildPhase'), - '.entitlements': ('text.plist.entitlements', 'PBXResourcesBuildPhase'), - '.xcprivacy': ('text.plist.xml', 'PBXResourcesBuildPhase'), - '.md': ('text', 'PBXResourcesBuildPhase'), - '.blend': ('file.blender', 'PBXResourcesBuildPhase'), + '.xcdatamodeld': ('wrapper.xcdatamodel', 'PBXSourcesBuildPhase'), '.xcf': ('file.xcf', 'PBXResourcesBuildPhase'), - '.scene': ('file.scene', 'PBXResourcesBuildPhase'), - '.wav': ('audio.wav', 'PBXResourcesBuildPhase'), - '.ogg': ('audio.ogg', 'PBXResourcesBuildPhase'), - '.as': ('sourcecode.actionscript', 'PBXSourcesBuildPhase'), - '.mesh': ('file.mesh', 'PBXResourcesBuildPhase'), - '.ttf': ('file.ttf', 'PBXResourcesBuildPhase'), - '.vert': ('sourcecode.glsl', 'PBXResourcesBuildPhase'), - '.frag': ('sourcecode.glsl', 'PBXResourcesBuildPhase'), - '.jfif': ('image.jfif', 'PBXResourcesBuildPhase'), - '.py': ('sourcecode.python', 'PBXSourcesBuildPhase'), - '.S': ('sourcecode.asm', 'PBXSourcesBuildPhase'), - '.asm': ('sourcecode.asm', 'PBXSourcesBuildPhase'), - '.inl': ('sourcecode.c.h', 'PBXHeadersBuildPhase') + '.xcframework': ('wrapper.xcframework', 'PBXFrameworksBuildPhase'), + '.xcodeproj': ('wrapper.pb-project', None), + '.xcprivacy': ('text.plist.xml', 'PBXResourcesBuildPhase'), + '.xib': ('file.xib', 'PBXResourcesBuildPhase') } _SPECIAL_FOLDERS = [ '.bundle',