Skip to content

Commit a00254b

Browse files
nadeemnaliCopilot
andcommitted
Fix: Disable code coverage instrumentation for Swift 6.2.3 compatibility
- Disable CLANG_COVERAGE_MAPPING, CODE_COVERAGE_ENABLED globally - Ensure LLVM_PROFILE_GENERATION disabled at all target levels - Clear incompatible profiling flags from all build configurations - Fixes missing libclang_rt.profile_iossim.a error in Xcode builds Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent d90e599 commit a00254b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

project.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ settings:
99
MARKETING_VERSION: 1.0
1010
CURRENT_PROJECT_VERSION: 1
1111
LLVM_PROFILE_GENERATION: NO
12+
CLANG_COVERAGE_MAPPING: NO
13+
CODE_COVERAGE_ENABLED: NO
1214

1315
targets:
1416
ExpenseFlow:
@@ -25,6 +27,9 @@ targets:
2527
PRODUCT_BUNDLE_IDENTIFIER: com.example.expenseflow
2628
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
2729
CODE_SIGN_IDENTITY:
30+
LLVM_PROFILE_GENERATION: NO
31+
CLANG_COVERAGE_MAPPING: NO
32+
CODE_COVERAGE_ENABLED: NO
2833

2934
ExpenseFlowTests:
3035
type: bundle.unit-test
@@ -38,3 +43,6 @@ targets:
3843
PRODUCT_BUNDLE_IDENTIFIER: com.example.expenseflow.tests
3944
CODE_SIGN_IDENTITY:
4045
ENABLE_TESTABILITY: YES
46+
LLVM_PROFILE_GENERATION: NO
47+
CLANG_COVERAGE_MAPPING: NO
48+
CODE_COVERAGE_ENABLED: NO

0 commit comments

Comments
 (0)