Skip to content

Commit 6f7428c

Browse files
committed
Enabke code coverage in the scheme
1 parent 41816a2 commit 6f7428c

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.circleci/config.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ commands:
3838
key: << parameters.scheme >>-v1-gems-{{ checksum "Gemfile.lock" }}
3939
paths:
4040
- vendor/bundle
41-
- run:
42-
name: Enable code coverage
43-
command: grep -lR "shouldUseLaunchSchemeArgsEnv" *.* --null | xargs -0 sed -i '' -e 's/shouldUseLaunchSchemeArgsEnv = "YES"/shouldUseLaunchSchemeArgsEnv = "YES" codeCoverageEnabled = "YES"/g'
4441
- run:
4542
name: Save Xcode version
4643
command: xcodebuild -version | tee .xcode-version

SimpleKeychain.xcodeproj/xcshareddata/xcschemes/SimpleKeychain-iOS.xcscheme

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29-
shouldUseLaunchSchemeArgsEnv = "YES">
29+
shouldUseLaunchSchemeArgsEnv = "YES"
30+
codeCoverageEnabled = "YES">
3031
<MacroExpansion>
3132
<BuildableReference
3233
BuildableIdentifier = "primary"

0 commit comments

Comments
 (0)