Skip to content

Commit b83537d

Browse files
committed
Fix Xcode build warnings for deployment target and app category
The safari-web-extension-converter tool set MACOSX_DEPLOYMENT_TARGET to 26.0 (matching the Xcode beta version), but this exceeds the supported range (10.13-15.5.99). Changed to 14.0 (macOS Sonoma). Also added LSApplicationCategoryType to Info.plist to resolve the missing app category warning. Set to "public.app-category.developer-tools" since this is a developer-focused Safari extension.
1 parent 4c9bf14 commit b83537d

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

CF Cache Status/CF Cache Status.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@
370370
GCC_WARN_UNUSED_FUNCTION = YES;
371371
GCC_WARN_UNUSED_VARIABLE = YES;
372372
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
373-
MACOSX_DEPLOYMENT_TARGET = 26.0;
373+
MACOSX_DEPLOYMENT_TARGET = 14.0;
374374
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
375375
MTL_FAST_MATH = YES;
376376
ONLY_ACTIVE_ARCH = YES;
@@ -427,7 +427,7 @@
427427
GCC_WARN_UNUSED_FUNCTION = YES;
428428
GCC_WARN_UNUSED_VARIABLE = YES;
429429
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
430-
MACOSX_DEPLOYMENT_TARGET = 26.0;
430+
MACOSX_DEPLOYMENT_TARGET = 14.0;
431431
MTL_ENABLE_DEBUG_INFO = NO;
432432
MTL_FAST_MATH = YES;
433433
SDKROOT = macosx;

CF Cache Status/CF Cache Status/Info.plist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5+
<key>LSApplicationCategoryType</key>
6+
<string>public.app-category.developer-tools</string>
57
<key>SFSafariWebExtensionConverterVersion</key>
68
<string>26.0</string>
79
</dict>

0 commit comments

Comments
 (0)