Skip to content

Commit fd3c930

Browse files
author
Oleksandr Tk
committed
chore: update build settings and ignore derived data directories
1 parent 52b955a commit fd3c930

3 files changed

Lines changed: 16 additions & 1 deletion

File tree

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,4 +126,6 @@ implementation_plan.md
126126
engine_paths.json
127127
ui_metadata.json
128128
MacOSCleaner/Resources/Assets.xcassets/PrivateCleanupCatalog.dataset/
129-
MacOSCleaner/.require-private-catalog
129+
MacOSCleaner/.require-private-catalog
130+
./derived_data
131+
derived_data/

MacOSCleaner/MacOSCleaner.xcodeproj/project.pbxproj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1385,6 +1385,8 @@
13851385
isa = XCBuildConfiguration;
13861386
buildSettings = {
13871387
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1388+
ASSETCATALOG_COMPILER_GENERATE_ASSET_SYMBOLS = NO;
1389+
BUILD_ACTIVE_RESOURCES_ONLY = YES;
13881390
CLANG_ANALYZER_NONNULL = YES;
13891391
CODE_SIGN_ENTITLEMENTS = MacOSCleaner.entitlements;
13901392
CODE_SIGN_STYLE = Automatic;
@@ -1393,7 +1395,9 @@
13931395
CURRENT_PROJECT_VERSION = 2;
13941396
DEAD_CODE_STRIPPING = YES;
13951397
DEVELOPMENT_TEAM = "";
1398+
ENABLE_DEBUG_DYLIB = NO;
13961399
ENABLE_HARDENED_RUNTIME = YES;
1400+
ENABLE_XOJIT_PREVIEWS = NO;
13971401
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
13981402
GENERATE_INFOPLIST_FILE = YES;
13991403
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
@@ -1405,6 +1409,7 @@
14051409
);
14061410
MACOSX_DEPLOYMENT_TARGET = 26.0;
14071411
MARKETING_VERSION = 2.1.1;
1412+
ONLY_ACTIVE_ARCH = YES;
14081413
PRODUCT_BUNDLE_IDENTIFIER = input.MacOSCleaner;
14091414
SDKROOT = macosx;
14101415
SWIFT_COMPILATION_MODE = singlefile;
@@ -1480,6 +1485,7 @@
14801485
isa = XCBuildConfiguration;
14811486
buildSettings = {
14821487
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
1488+
ASSETCATALOG_COMPILER_GENERATE_ASSET_SYMBOLS = NO;
14831489
CLANG_ANALYZER_NONNULL = YES;
14841490
CODE_SIGN_ENTITLEMENTS = MacOSCleaner.entitlements;
14851491
CODE_SIGN_STYLE = Automatic;
@@ -1488,7 +1494,9 @@
14881494
CURRENT_PROJECT_VERSION = 2;
14891495
DEAD_CODE_STRIPPING = YES;
14901496
DEVELOPMENT_TEAM = "";
1497+
ENABLE_DEBUG_DYLIB = NO;
14911498
ENABLE_HARDENED_RUNTIME = YES;
1499+
ENABLE_XOJIT_PREVIEWS = NO;
14921500
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
14931501
GENERATE_INFOPLIST_FILE = YES;
14941502
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";

MacOSCleaner/project.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ targets:
7777
MARKETING_VERSION: 2.1.1
7878
CURRENT_PROJECT_VERSION: 2
7979
ENABLE_HARDENED_RUNTIME: YES
80+
ENABLE_DEBUG_DYLIB: NO
81+
ENABLE_XOJIT_PREVIEWS: NO
82+
ASSETCATALOG_COMPILER_GENERATE_ASSET_SYMBOLS: NO
8083
SWIFT_VERSION: 6.0
8184
CODE_SIGN_STYLE: Automatic
8285
DEVELOPMENT_TEAM: ""
@@ -95,6 +98,8 @@ targets:
9598
Debug:
9699
SWIFT_OPTIMIZATION_LEVEL: "-Onone"
97100
SWIFT_COMPILATION_MODE: singlefile
101+
BUILD_ACTIVE_RESOURCES_ONLY: YES
102+
ONLY_ACTIVE_ARCH: YES
98103
Release:
99104
SWIFT_OPTIMIZATION_LEVEL: "-O"
100105

0 commit comments

Comments
 (0)