From e7ca39d8eef9df7aa0fdf4e5efc623f0c8e8de00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20PEREGI?= Date: Tue, 10 Feb 2026 17:29:19 +0100 Subject: [PATCH] Add support for xcodebuild file formats --- identify/extensions.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/identify/extensions.py b/identify/extensions.py index 3a50915..4379f2e 100644 --- a/identify/extensions.py +++ b/identify/extensions.py @@ -299,7 +299,10 @@ 'wsgi': {'text', 'wsgi', 'python'}, 'xhtml': {'text', 'xml', 'html', 'xhtml'}, 'xacro': {'text', 'xml', 'urdf', 'xacro'}, - 'xctestplan': {'text', 'json'}, + 'xcconfig': {'text', 'xcconfig', 'xcodebuild'}, + 'xcscheme': {'text', 'xml', 'xcscheme', 'xcodebuild'}, + 'xctestplan': {'text', 'json', 'xctestplan', 'xcodebuild'}, + 'xcworkspacedata': {'text', 'xml', 'xcworkspacedata', 'xcodebuild'}, 'xlf': {'text', 'xml', 'xliff'}, 'xliff': {'text', 'xml', 'xliff'}, 'xml': {'text', 'xml'}, @@ -326,6 +329,8 @@ EXTENSIONS_NEED_BINARY_CHECK = { 'plist': {'plist'}, 'ppm': {'image', 'ppm'}, + 'xcprivacy': {'plist', 'xcprivacy', 'xcodebuild'}, + 'xcsettings': {'plist', 'xcsettings', 'xcodebuild'}, } NAMES = {